diff options
Diffstat (limited to '')
| -rw-r--r-- | test/140_appendsolution/appendsolution_tests.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/140_appendsolution/appendsolution_tests.c b/test/140_appendsolution/appendsolution_tests.c index e1b7e98..c9cd81f 100644 --- 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, | |||
| 18 | void solution_moves_reset(solution_moves_t [static 1]); | 18 | void solution_moves_reset(solution_moves_t [static 1]); |
| 19 | bool solution_list_init(solution_list_t [static 1], size_t n, char [n]); | 19 | bool solution_list_init(solution_list_t [static 1], size_t n, char [n]); |
| 20 | int64_t appendsolution(const solution_moves_t [static 1], | 20 | int64_t appendsolution(const solution_moves_t [static 1], |
| 21 | const solution_settings_t [static 1], solution_list_t [static 1], bool, | 21 | const solution_settings_t [static 1], solution_list_t [static 1]); |
| 22 | const char *); | ||
| 23 | 22 | ||
| 24 | void run(void) { | 23 | void run(void) { |
| 25 | int i, ntrans; | 24 | int i, ntrans; |
| @@ -59,7 +58,7 @@ void run(void) { | |||
| 59 | fgets(str, STRLENMAX, stdin); | 58 | fgets(str, STRLENMAX, stdin); |
| 60 | settings.orientation = atoi(str); | 59 | settings.orientation = atoi(str); |
| 61 | 60 | ||
| 62 | appendsolution(&moves, &settings, &list, false, "Test"); | 61 | appendsolution(&moves, &settings, &list); |
| 63 | 62 | ||
| 64 | printf("%s", list.buf); | 63 | printf("%s", list.buf); |
| 65 | printf("Number of solutions: %" PRIu64 "\n", list.nsols); | 64 | printf("Number of solutions: %" PRIu64 "\n", list.nsols); |
