From 8d3fc9f5f9c0593fcae9c451efe6c89c64dcbe84 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 29 Apr 2025 10:08:04 +0200 Subject: Added stop / pause / resume solve to API --- tools/400_solvetest/solve_test.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools/400_solvetest') 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) { continue; } n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL, - 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats); + 0, 20, 1, -1, 0, size, buf, SOL_BUFFER_LEN, sol, stats, + NULL, NULL); if (n == 0) { printf("Error: no solution\n"); return; @@ -78,7 +79,8 @@ void run(void) { continue; } n = nissy_solve(cube, solver, NISSY_NISSFLAG_NORMAL, - 0, 20, 100, 0, 0, size, buf, SOL_BUFFER_LEN, sol, stats); + 0, 20, 100, 0, 0, size, buf, SOL_BUFFER_LEN, sol, stats, + NULL, NULL); if (check_all(sol, s[i].solutions)) { printf("All solutions are correct\n"); } else { -- cgit v1.3