aboutsummaryrefslogtreecommitdiff
path: root/tools/400_solvetest
diff options
context:
space:
mode:
Diffstat (limited to 'tools/400_solvetest')
-rw-r--r--tools/400_solvetest/solve_test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/400_solvetest/solve_test.c b/tools/400_solvetest/solve_test.c
index 1bfe851..73e6e8e 100644
--- a/tools/400_solvetest/solve_test.c
+++ b/tools/400_solvetest/solve_test.c
@@ -57,7 +57,8 @@ void run(void) {
57 continue; 57 continue;
58 } 58 }
59 n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL, 59 n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL,
60 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats); 60 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats,
61 NULL, NULL);
61 if (n == 0) { 62 if (n == 0) {
62 printf("Error: no solution\n"); 63 printf("Error: no solution\n");
63 return; 64 return;
@@ -78,7 +79,8 @@ void run(void) {
78 continue; 79 continue;
79 } 80 }
80 n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL, 81 n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL,
81 0, 20, 100, 0, 0, size, buf, SOL_BUFFER_LEN, sol, stats); 82 0, 20, 100, 0, 0, size, buf, SOL_BUFFER_LEN, sol, stats,
83 NULL, NULL);
82 if (check_all(sol, s[i].solutions)) { 84 if (check_all(sol, s[i].solutions)) {
83 printf("All solutions are correct\n"); 85 printf("All solutions are correct\n");
84 } else { 86 } else {

Generated with cgit - Back to sebastiano.tronto.net