Ejemplo n.º 1
0
    def test_check_vertical_first_column_false(self):
        board = Board()
        board.insert('X', 0, 0)
        board.insert('X', 0, 2)
        checker = LogicChecker(board)

        assert checker._check_vertical('X', 2, 4) == False
Ejemplo n.º 2
0
    def test_check_vertical_second_column(self):
        board = Board()
        board.insert('X', 2, 0)
        board.insert('X', 2, 2)
        checker = LogicChecker(board)

        assert checker._check_vertical('X', 2, 4) == True