diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 16:12:21 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 16:12:21 +0200 |
| commit | bab22e1946a656088804b61cf765461b48744971 (patch) | |
| tree | 43ae3798e5c2f4fc63e68df72d134e742fcaf834 /test/test.h | |
| parent | 93522effba2f200257141189de5925a23fca93b8 (diff) | |
| download | nissy-core-bab22e1946a656088804b61cf765461b48744971.tar.gz nissy-core-bab22e1946a656088804b61cf765461b48744971.zip | |
Update tests for oriented_cube_t
Diffstat (limited to '')
| -rw-r--r-- | test/test.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/test.h b/test/test.h index 78a3fd9..6230f36 100644 --- a/test/test.h +++ b/test/test.h | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | 10 | ||
| 11 | #include "../src/nissy.h" | 11 | #include "../src/nissy.h" |
| 12 | #include "../src/arch/arch.h" | 12 | #include "../src/arch/arch.h" |
| 13 | #include "../src/core/core_types.h" | ||
| 13 | #include "../src/solvers/solutions_types_macros.h" | 14 | #include "../src/solvers/solutions_types_macros.h" |
| 14 | #include "../src/solvers/tables_types_macros.h" | 15 | #include "../src/solvers/tables_types_macros.h" |
| 15 | #include "../src/solvers/h48/coordinate_types_macros.h" | 16 | #include "../src/solvers/h48/coordinate_types_macros.h" |
| @@ -20,13 +21,13 @@ | |||
| 20 | #define STRLENMAX 10000 | 21 | #define STRLENMAX 10000 |
| 21 | 22 | ||
| 22 | /* Basic functions used in most tests */ | 23 | /* Basic functions used in most tests */ |
| 23 | cube_t solvedcube(void); | 24 | oriented_cube_t solvedcube(void); |
| 24 | bool iserror(cube_t); | 25 | bool iserror(oriented_cube_t); |
| 25 | bool isconsistent(cube_t); | 26 | bool isconsistent(oriented_cube_t); |
| 26 | bool issolvable(cube_t); | 27 | bool issolvable(oriented_cube_t); |
| 27 | bool issolved(cube_t); | 28 | bool issolved(oriented_cube_t); |
| 28 | cube_t readcube(char *); | 29 | oriented_cube_t readcube(char *); |
| 29 | int64_t writecube(cube_t, size_t n, char [n]); | 30 | int64_t writecube(oriented_cube_t, size_t n, char [n]); |
| 30 | 31 | ||
| 31 | /* Test function to be implemented by all tests */ | 32 | /* Test function to be implemented by all tests */ |
| 32 | void run(void); | 33 | void run(void); |
