aboutsummaryrefslogtreecommitdiff
path: root/tools/400_solvetest/solve_test.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-03-12 15:40:48 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-03-12 15:40:48 +0100
commit45eddc73d44f59d82fcf93e2213bb972c6b7c86a (patch)
tree5382621c745ab5309ebc69fd82a17f544e5d0ca3 /tools/400_solvetest/solve_test.c
parent4d0e55e9def2ba1eaca5b2289ca5b30e951f4d97 (diff)
downloadnissy-core-45eddc73d44f59d82fcf93e2213bb972c6b7c86a.tar.gz
nissy-core-45eddc73d44f59d82fcf93e2213bb972c6b7c86a.zip
Revert "Temporary fix for tools"
This reverts commit 4d0e55e9def2ba1eaca5b2289ca5b30e951f4d97.
Diffstat (limited to 'tools/400_solvetest/solve_test.c')
-rw-r--r--tools/400_solvetest/solve_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/400_solvetest/solve_test.c b/tools/400_solvetest/solve_test.c
index d4d5c68..9b6c094 100644
--- a/tools/400_solvetest/solve_test.c
+++ b/tools/400_solvetest/solve_test.c
@@ -57,7 +57,7 @@ void run(void) {
57 printf("Invalid scramble\n"); 57 printf("Invalid scramble\n");
58 continue; 58 continue;
59 } 59 }
60 n = nissy_solve(cube, solver, "", NISSY_NISSFLAG_NORMAL, 60 n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL,
61 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats); 61 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats);
62 if (n == 0) { 62 if (n == 0) {
63 printf("Error: no solution\n"); 63 printf("Error: no solution\n");
@@ -78,7 +78,7 @@ void run(void) {
78 printf("Invalid scramble\n"); 78 printf("Invalid scramble\n");
79 continue; 79 continue;
80 } 80 }
81 n = nissy_solve(cube, solver, "", NISSY_NISSFLAG_NORMAL, 81 n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL,
82 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 if (check_all(sol, s[i].solutions)) { 83 if (check_all(sol, s[i].solutions)) {
84 printf("All solutions are correct\n"); 84 printf("All solutions are correct\n");

Generated with cgit - Back to sebastiano.tronto.net