This commit is contained in:
@@ -57,7 +57,7 @@ class SolverTest {
|
||||
|
||||
assert (dokuResult.isSolved());
|
||||
|
||||
Solver.solveRandom(dokuToTest, rand);
|
||||
Solver.randomSolve(dokuToTest, rand);
|
||||
|
||||
System.out.println("\n****************************\nDoku solved");
|
||||
SudokuPrinter.printRectangleSudoku(dokuToTest.getSubGrid(0), 3, 3);
|
||||
@@ -89,13 +89,13 @@ class SolverTest {
|
||||
5, ns, ns, ns, 3, 1, 0, ns, ns);
|
||||
sudokuToTest2.setImmutableCellsSymbol(immutableCells2);
|
||||
|
||||
boolean isSolved = Solver.solveRandom(dokuToTest2, rand);
|
||||
boolean isSolved = Solver.randomSolve(dokuToTest2, rand);
|
||||
|
||||
assert (!isSolved);
|
||||
|
||||
MultiDoku dokuToTest3 = SudokuFactory.createBasicEmptySquareDoku(3, SudokuFactory.DEFAULT_CONSTRAINTS);
|
||||
|
||||
Solver.solveRandom(dokuToTest3, rand);
|
||||
Solver.randomSolve(dokuToTest3, rand);
|
||||
|
||||
SudokuPrinter.printRectangleSudoku(dokuToTest3.getSubGrid(0), 3, 3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user