diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-09 07:43:37 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-09 07:43:37 +0100 |
| commit | 11e6aeeaf5f08839c6effb8f68710081acf491bf (patch) | |
| tree | 8aab442a637fd35bb457946926fd9bc749ee0467 /test | |
| parent | 110e079f81277b40ec76be0b86b074a632496109 (diff) | |
| download | nissy-core-11e6aeeaf5f08839c6effb8f68710081acf491bf.tar.gz nissy-core-11e6aeeaf5f08839c6effb8f68710081acf491bf.zip | |
Working (?) version of coordinate solver
Diffstat (limited to '')
| -rw-r--r-- | test/120_gendata_eo/gendata_eo_tests.c | 4 | ||||
| -rw-r--r-- | test/test.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/120_gendata_eo/gendata_eo_tests.c b/test/120_gendata_eo/gendata_eo_tests.c index 3a6ac07..46a0606 100644 --- a/test/120_gendata_eo/gendata_eo_tests.c +++ b/test/120_gendata_eo/gendata_eo_tests.c | |||
| @@ -17,7 +17,7 @@ Pruning table values (from nissy): | |||
| 17 | 17 | ||
| 18 | char buf[FULLSIZE]; | 18 | char buf[FULLSIZE]; |
| 19 | 19 | ||
| 20 | size_t gendata_coordinate_name(const char *, void *); | 20 | size_t gendata_coord_dispatch(const char *, void *); |
| 21 | bool readtableinfo(uint64_t, const char *, tableinfo_t *); | 21 | bool readtableinfo(uint64_t, const char *, tableinfo_t *); |
| 22 | 22 | ||
| 23 | void run(void) { | 23 | void run(void) { |
| @@ -25,7 +25,7 @@ void run(void) { | |||
| 25 | size_t result; | 25 | size_t result; |
| 26 | tableinfo_t info; | 26 | tableinfo_t info; |
| 27 | 27 | ||
| 28 | result = gendata_coordinate_name("EO", buf); | 28 | result = gendata_coord_dispatch("EO", buf); |
| 29 | if (readtableinfo(FULLSIZE, buf, &info) != NISSY_OK) { | 29 | if (readtableinfo(FULLSIZE, buf, &info) != NISSY_OK) { |
| 30 | printf("Error reading info from table\n"); | 30 | printf("Error reading info from table\n"); |
| 31 | return; | 31 | return; |
diff --git a/test/test.h b/test/test.h index e144527..4b281e0 100644 --- a/test/test.h +++ b/test/test.h | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | #include "../src/solvers/h48/coordinate_macros.h" | 14 | #include "../src/solvers/h48/coordinate_macros.h" |
| 15 | #include "../src/solvers/h48/map_types_macros.h" | 15 | #include "../src/solvers/h48/map_types_macros.h" |
| 16 | #include "../src/solvers/h48/gendata_types_macros.h" | 16 | #include "../src/solvers/h48/gendata_types_macros.h" |
| 17 | #include "../src/solvers/coord/coord_types_macros.h" | 17 | #include "../src/solvers/coord/types_macros.h" |
| 18 | 18 | ||
| 19 | #define STRLENMAX 10000 | 19 | #define STRLENMAX 10000 |
| 20 | 20 | ||
