示例#1
0
	def test_solve_Backtracking_return_False_if_sudoku_is_not_solved(self):
		backtracking = Backtracking(self.mtrx_unsolved)
		solved_sudoku_correct = backtracking.solve_backtracking()
		self.assertFalse = (solved_sudoku_correct)
示例#2
0
	def test_solve_Backtracking_return_True_if_sudoku_is_solved(self):
		backtracking = Backtracking(self.mtrx_to_solve)
		solved_sudoku_correct = backtracking.solve_backtracking()
		self.assertEqual = (True, solved_sudoku_correct)