Пример #1
0
        public void Test_AddFigureWhitInvalidColor()
        {
            Player tested = new Player("Test", ChessColor.White);
            Pawn testPawn = new Pawn(ChessColor.Black);

            tested.AddFigure(testPawn);
        }
Пример #2
0
        public void Test_AddFigureWhitValidData()
        {
            Player tested = new Player("Test", ChessColor.White);
            Pawn testPawn = new Pawn(ChessColor.White);

            tested.AddFigure(testPawn);
        }
Пример #3
0
        public void Test_AddFigureNull()
        {
            Player tested = new Player("Test", ChessColor.White);

            tested.AddFigure(null);
        }