Cantagallo/Cantagallo/Test/UnitTestPlayer.cs
/// <summary>
/// this method tests player's color
/// </summary>
/// <seealso cref="IPlayer.PColor"/>
this method tests player's color
this method tests player ' s color
[Fact]
        public void PlayerColorSetterTest()
        {
            IPlayer player = new PlayerImpl();
            Assert.Equal(PlayerColor.Blue, player.PColor);
            player.PColor = PlayerColor.Red;
            Assert.Equal(PlayerColor.Red, player.PColor);
        }
[ Fact ] public void PlayerColorSetterTest ( ) { IPlayer player = new PlayerImpl ( ) ; Assert . Equal ( PlayerColor . Blue , player . PColor ) ; player . PColor = PlayerColor . Red ; Assert . Equal ( PlayerColor . Red , player . PColor ) ; }
this method tests player's color
this method tests player ' s color
seealso
None