aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-05-18 08:48:13 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-05-18 08:48:13 +0200
commit8b94d135429a9f3253cc7f25a1453b412065c4a0 (patch)
tree4a31d6def5421e95fb98505a2bc2653c18fca330 /test
parent30b43f08955158d4f2066f4b50fe8d1241b3177b (diff)
downloadnissy-core-8b94d135429a9f3253cc7f25a1453b412065c4a0.tar.gz
nissy-core-8b94d135429a9f3253cc7f25a1453b412065c4a0.zip
Refactor solver dispatch and checkdata
Diffstat (limited to 'test')
-rw-r--r--test/120_gendata_eo/gendata_eo_tests.c5
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
18unsigned char buf[FULLSIZE]; 18unsigned char buf[FULLSIZE];
19 19
20int64_t gendata_coord_dispatch(const char *, unsigned char *); 20long long gendata_coord_dispatch(
21 const char *, unsigned long long, unsigned char *);
21int64_t readtableinfo(size_t, const unsigned char *, tableinfo_t *); 22int64_t readtableinfo(size_t, const unsigned char *, tableinfo_t *);
22 23
23void run(void) { 24void 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;

Generated with cgit - Back to sebastiano.tronto.net