nissy-core

The "engine" of nissy, including the H48 optimal solver.
git clone https://git.tronto.net/nissy-core
Download | Log | Files | Refs | README | LICENSE

commit 9fd47f33ff267b5430cf926b8257c75ac9f15380
parent b9d617f3bfe9ac92718f995059b602c019d68c1d
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Fri, 18 Jul 2025 16:15:42 +0200

Fix test

Diffstat:
Mtest/140_appendsolution/appendsolution_tests.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/test/140_appendsolution/appendsolution_tests.c b/test/140_appendsolution/appendsolution_tests.c @@ -18,8 +18,7 @@ int64_t readmoves(const char *, size_t n, size_t m, void solution_moves_reset(solution_moves_t [static 1]); bool solution_list_init(solution_list_t [static 1], size_t n, char [n]); int64_t appendsolution(const solution_moves_t [static 1], - const solution_settings_t [static 1], solution_list_t [static 1], bool, - const char *); + const solution_settings_t [static 1], solution_list_t [static 1]); void run(void) { int i, ntrans; @@ -59,7 +58,7 @@ void run(void) { fgets(str, STRLENMAX, stdin); settings.orientation = atoi(str); - appendsolution(&moves, &settings, &list, false, "Test"); + appendsolution(&moves, &settings, &list); printf("%s", list.buf); printf("Number of solutions: %" PRIu64 "\n", list.nsols);