Beispiel #1
0
class TestWriterFunctions(unittest.TestCase):

    def setUp(self):
        #set up board
        self.sudoku=Sudoku()
        board_path="test_boards/test1.txt"
        self.sudoku.configure_board(board_path)
        self.board=self.sudoku.board




        #assert value on board

        #change board

        #write board

        #open board

        #assert value has changed

    def test_test1(self):
        pass
Beispiel #2
0
 def setUp(self):
     sudoku=Sudoku()
     board_path="test_boards/test1.txt"
     sudoku.configure_board(board_path)
     self.board=sudoku.board