Exemplo n.º 1
0
	def test_easy_puzzle(self):
		solver = SudokuSolver("puzzles/9x9_easy.csv")
		expected = self.loadSolution("puzzles/9x9_easy_solution.csv")
		actual = solver.toString(solver.solve())
		self.assertEquals(expected, actual)
Exemplo n.º 2
0
	def test_large_puzzle(self):
		solver = SudokuSolver("puzzles/25x25_hard.csv")
		expected = self.loadSolution("puzzles/25x25_hard_solution.csv")
		actual = solver.toString(solver.solve())
		self.assertEquals(expected, actual)