diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-12 11:11:28 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-12 11:11:28 +0200 |
| commit | da8fdd4955fd24666643915a6728678e9965a0d3 (patch) | |
| tree | 878d7baf68f90e80949bc79a039bda159865821f /test/test.h | |
| parent | 14689e29252e608d51c5b52e61e43471d2aa021e (diff) | |
| download | nissy-core-da8fdd4955fd24666643915a6728678e9965a0d3.tar.gz nissy-core-da8fdd4955fd24666643915a6728678e9965a0d3.zip | |
Make writecube safer
Diffstat (limited to 'test/test.h')
| -rw-r--r-- | test/test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.h b/test/test.h index b90a399..fe362c7 100644 --- a/test/test.h +++ b/test/test.h | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | #include <stdlib.h> | 8 | #include <stdlib.h> |
| 9 | #include <string.h> | 9 | #include <string.h> |
| 10 | 10 | ||
| 11 | #include "../src/nissy.h" | ||
| 11 | #include "../src/arch/arch.h" | 12 | #include "../src/arch/arch.h" |
| 12 | #include "../src/solvers/tables_types_macros.h" | 13 | #include "../src/solvers/tables_types_macros.h" |
| 13 | #include "../src/solvers/h48/coordinate_macros.h" | 14 | #include "../src/solvers/h48/coordinate_macros.h" |
| @@ -23,8 +24,7 @@ bool isconsistent(cube_t); | |||
| 23 | bool issolvable(cube_t); | 24 | bool issolvable(cube_t); |
| 24 | bool issolved(cube_t); | 25 | bool issolved(cube_t); |
| 25 | cube_t readcube(char *, char *); | 26 | cube_t readcube(char *, char *); |
| 26 | void writecube(char *, cube_t, char *); | 27 | int64_t writecube(char *, cube_t, uint64_t, char *); |
| 27 | void nissy_setlogger(void (*logger_function)(const char *, ...)); | ||
| 28 | 28 | ||
| 29 | /* Test function to be implemented by all tests */ | 29 | /* Test function to be implemented by all tests */ |
| 30 | void run(void); | 30 | void run(void); |
