Ejemplo n.º 1
0
 def test_grid_complete(self, test_puzzle_easy):
     complete_puzzle = test_puzzle_easy['complete_puzzle']
     result = solve.row_col_grid_complete(complete_puzzle, "grids")
     assert result, "Grids should be complete."
Ejemplo n.º 2
0
 def test_grid_not_complete(self, test_puzzle_easy):
     incomplete_puzzle = test_puzzle_easy['incomplete_puzzle']
     result = solve.row_col_grid_complete(incomplete_puzzle, "grids")
     assert not result, "Grids should not be complete."