Пример #1
0
 def test_check_horizontal_second_row_false(self):
     board = Board()
     board.insert('X', 0, 2)
     board.insert('X', 2, 2)
     checker = LogicChecker(board)
     assert checker._check_horizontal('X', 2, 4) == False
Пример #2
0
 def test_check_horizontal_first_row(self):
     board = Board()
     board.insert('X', 0, 0)
     board.insert('X', 2, 0)
     checker = LogicChecker(board)
     assert checker._check_horizontal('X', 4, 0) == True