diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-18 08:48:13 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-18 08:48:13 +0200 |
| commit | 8b94d135429a9f3253cc7f25a1453b412065c4a0 (patch) | |
| tree | 4a31d6def5421e95fb98505a2bc2653c18fca330 /test/120_gendata_eo | |
| parent | 30b43f08955158d4f2066f4b50fe8d1241b3177b (diff) | |
| download | nissy-core-8b94d135429a9f3253cc7f25a1453b412065c4a0.tar.gz nissy-core-8b94d135429a9f3253cc7f25a1453b412065c4a0.zip | |
Refactor solver dispatch and checkdata
Diffstat (limited to 'test/120_gendata_eo')
| -rw-r--r-- | test/120_gendata_eo/gendata_eo_tests.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/120_gendata_eo/gendata_eo_tests.c b/test/120_gendata_eo/gendata_eo_tests.c index ec1fd64..1b985c3 100644 --- a/test/120_gendata_eo/gendata_eo_tests.c +++ b/test/120_gendata_eo/gendata_eo_tests.c | |||
| @@ -17,7 +17,8 @@ Pruning table values (from nissy): | |||
| 17 | 17 | ||
| 18 | unsigned char buf[FULLSIZE]; | 18 | unsigned char buf[FULLSIZE]; |
| 19 | 19 | ||
| 20 | int64_t gendata_coord_dispatch(const char *, unsigned char *); | 20 | long long gendata_coord_dispatch( |
| 21 | const char *, unsigned long long, unsigned char *); | ||
| 21 | int64_t readtableinfo(size_t, const unsigned char *, tableinfo_t *); | 22 | int64_t readtableinfo(size_t, const unsigned char *, tableinfo_t *); |
| 22 | 23 | ||
| 23 | void run(void) { | 24 | void run(void) { |
| @@ -25,7 +26,7 @@ void run(void) { | |||
| 25 | size_t result; | 26 | size_t result; |
| 26 | tableinfo_t info; | 27 | tableinfo_t info; |
| 27 | 28 | ||
| 28 | result = gendata_coord_dispatch("EO", buf); | 29 | result = gendata_coord_dispatch("coord_EO_FB", FULLSIZE, buf); |
| 29 | if (readtableinfo(FULLSIZE, buf, &info) != NISSY_OK) { | 30 | if (readtableinfo(FULLSIZE, buf, &info) != NISSY_OK) { |
| 30 | printf("Error reading info from table\n"); | 31 | printf("Error reading info from table\n"); |
| 31 | return; | 32 | return; |
