def test_fix(self): simple_table = solution_creator._new_table(3) solver._fix(simple_table,1,0,0) _utils.print_table(simple_table) simple_table[0][0]={"possibilities": [1], "checked": False} solver._fix(simple_table,1,0,0) _utils.print_table(simple_table)
def test_fix_house(self): simple_table = solution_creator._new_table(6) solver._fix_house(simple_table,1,0,0) _utils.print_table(simple_table)
def test_print_table(self): _utils.print_table(create_solution())
def test_new_table(self): table = solution_creator._new_table() result = recursive_solution(table) _utils.print_table(result)