예제 #1
0
        public void Test_RemoveFigureWhitInvalidColor()
        {
            Player tested = new Player("Test", ChessColor.White);
            Pawn testPawn = new Pawn(ChessColor.Black);

            tested.RemoveFigure(testPawn);
        }
예제 #2
0
        public void Test_RemoveFigureWhitNotExistFigure()
        {
            Player tested = new Player("Test", ChessColor.White);
            Pawn testPawn = new Pawn(ChessColor.White);

            tested.RemoveFigure(testPawn);
        }
예제 #3
0
 public void Test_RemoveFigureWhitValidData()
 {
     Player tested = new Player("Test", ChessColor.White);
     Pawn testPawn = new Pawn(ChessColor.White);
     tested.AddFigure(testPawn);
     tested.RemoveFigure(testPawn);
 }
예제 #4
0
        public void Test_RemoveFigureNull()
        {
            Player tested = new Player("Test", ChessColor.White);

            tested.RemoveFigure(null);
        }