Exemplo n.º 1
0
 def test_check_chess(self):
     board = GameBoard()
     board.move_current_figure(1, 4, 3, 4)
     board.move_current_figure(6, 5, 4, 5)
     board.move_current_figure(0, 3, 4, 7)
     self.assertEqual('Chess', board.get_status())
Exemplo n.º 2
0
 def test_next_turn(self):
     board = GameBoard()
     board.move_current_figure(1, 0, 2, 0)
     self.assertEqual('Next turn', board.get_status())
     board.move_current_figure(6, 0, 5, 0)
     self.assertEqual('Next turn', board.get_status())