def test_sudoku_3(self): csp = e02.create_sudoku_csp(self.sudokus[23]) solution = e02.backtracking(csp) sud = e02.sudoku_csp_to_array(solution) sudoku_checker(self, sud) self.assertTrue(solution.complete())
def test_correct_solution_backtracking(self): csp_solution = e02.backtracking(self.csp) self.assertTrue(csp_solution.complete())