Example #1
0
    def setUp(self):
        # The test board from the report
        self.board_spec = ((6, 6), (1, 0), (5, 5), (3, 2, 2, 2), (0, 3, 1, 3),
                           (2, 0, 4, 2), (2, 5, 2, 1))

        self.expected_board = [[0, 0, 1, 1, 1, 1], [0, 0, 1, 1, 1, 1],
                               [0, 0, 0, 1, 1, 0], [1, 0, 0, 1, 1, 0],
                               [1, 0, 0, 0, 0, 0], [1, 0, 1, 1, 0, 0]]

        self.board = Board(self.board_spec)