Exemple #1
0
 def test_check_valid_position_rook_move_up(self):
     queen = Queen(4, 4, Color.BLACK)
     self.assertTrue(queen.check_valid_position(4, 0, []))
Exemple #2
0
 def test_check_valid_position_bishop_move_down_left(self):
     queen = Queen(4, 4, Color.BLACK)
     self.assertTrue(queen.check_valid_position(1, 7, []))