diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/130_appendsolution/appendsolution_tests.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/130_appendsolution/appendsolution_tests.c b/test/130_appendsolution/appendsolution_tests.c index 066c305..abff359 100644 --- a/test/130_appendsolution/appendsolution_tests.c +++ b/test/130_appendsolution/appendsolution_tests.c | |||
| @@ -17,7 +17,8 @@ int64_t readmoves(const char *, size_t n, uint8_t [n]); | |||
| 17 | void solution_moves_reset(solution_moves_t [static 1]); | 17 | void solution_moves_reset(solution_moves_t [static 1]); |
| 18 | bool solution_list_init(solution_list_t [static 1], size_t n, char [n]); | 18 | bool solution_list_init(solution_list_t [static 1], size_t n, char [n]); |
| 19 | int64_t appendsolution(const solution_moves_t [static 1], | 19 | int64_t appendsolution(const solution_moves_t [static 1], |
| 20 | const solution_settings_t [static 1], solution_list_t [static 1]); | 20 | const solution_settings_t [static 1], solution_list_t [static 1], bool, |
| 21 | const char *); | ||
| 21 | 22 | ||
| 22 | void run(void) { | 23 | void run(void) { |
| 23 | int i, ntrans; | 24 | int i, ntrans; |
| @@ -49,7 +50,7 @@ void run(void) { | |||
| 49 | settings.tmask |= UINT64_C(1) << (uint64_t)readtrans(str); | 50 | settings.tmask |= UINT64_C(1) << (uint64_t)readtrans(str); |
| 50 | } | 51 | } |
| 51 | 52 | ||
| 52 | appendsolution(&moves, &settings, &list); | 53 | appendsolution(&moves, &settings, &list, false, "Test"); |
| 53 | 54 | ||
| 54 | printf("%s", list.buf); | 55 | printf("%s", list.buf); |
| 55 | printf("Number of solutions: %" PRIu64 "\n", list.nsols); | 56 | printf("Number of solutions: %" PRIu64 "\n", list.nsols); |
