Cantagallo/Cantagallo/Test/UnitTestPlayer.cs
/// <summary>
/// this method tests player's dimension
/// </summary>
/// <seealso cref="IPlayer.Dimension"/>
this method tests player's dimension
this method tests player ' s dimension
[Fact]
        public void PlayerDimensionSetterTest()
        {
            IPlayer player = new PlayerImpl();
            Assert.Equal(1, player.Dimension);
            player.Dimension = 2;
            Assert.Equal(2, player.Dimension);
        }
[ Fact ] public void PlayerDimensionSetterTest ( ) { IPlayer player = new PlayerImpl ( ) ; Assert . Equal ( 1 , player . Dimension ) ; player . Dimension = 2 ; Assert . Equal ( 2 , player . Dimension ) ; }
this method tests player's dimension
this method tests player ' s dimension
seealso
None