diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-09 21:02:32 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-09 21:02:32 +0200 |
| commit | d60c210bdadff5d8f5b9dc73a701560d54f69fff (patch) | |
| tree | 8a2e14281ee91d0f841eef18cc178c9a65b05732 /test | |
| parent | 5bb2b50a3f92c727ddf468df16bbc60a173d3115 (diff) | |
| download | nissy-core-d60c210bdadff5d8f5b9dc73a701560d54f69fff.tar.gz nissy-core-d60c210bdadff5d8f5b9dc73a701560d54f69fff.zip | |
Fixes
Diffstat (limited to 'test')
| -rw-r--r-- | test/100_gendata_cocsep/gendata_cocsep_tests.c | 2 | ||||
| -rw-r--r-- | test/105_gendata_eoesep/gendata_eoesep_tests.c | 4 | ||||
| -rw-r--r-- | test/120_gendata_eo/gendata_eo_tests.c | 4 | ||||
| -rw-r--r-- | test/121_coorddata_dr/coorddata_dr.c | 2 | ||||
| -rw-r--r-- | test/122_coorddata_dreo/coorddata_dreo.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/test/100_gendata_cocsep/gendata_cocsep_tests.c b/test/100_gendata_cocsep/gendata_cocsep_tests.c index 46b9443..c1eef77 100644 --- a/test/100_gendata_cocsep/gendata_cocsep_tests.c +++ b/test/100_gendata_cocsep/gendata_cocsep_tests.c | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | #define BUF_SIZE 2000000 | 3 | #define BUF_SIZE 2000000 |
| 4 | 4 | ||
| 5 | size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); | 5 | size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); |
| 6 | bool readtableinfo(uint64_t, const unsigned char *, tableinfo_t *); | 6 | int64_t readtableinfo(size_t, const unsigned char *, tableinfo_t *); |
| 7 | 7 | ||
| 8 | void run(void) { | 8 | void run(void) { |
| 9 | unsigned char buf[BUF_SIZE]; | 9 | unsigned char buf[BUF_SIZE]; |
diff --git a/test/105_gendata_eoesep/gendata_eoesep_tests.c b/test/105_gendata_eoesep/gendata_eoesep_tests.c index 0c22d7f..7ed9778 100644 --- a/test/105_gendata_eoesep/gendata_eoesep_tests.c +++ b/test/105_gendata_eoesep/gendata_eoesep_tests.c | |||
| @@ -26,7 +26,7 @@ The test does not generate the full table. For reference, these are the values: | |||
| 26 | unsigned char buf[FULLSIZE]; | 26 | unsigned char buf[FULLSIZE]; |
| 27 | 27 | ||
| 28 | size_t gendata_eoesep(unsigned char [static FULLSIZE], uint8_t); | 28 | size_t gendata_eoesep(unsigned char [static FULLSIZE], uint8_t); |
| 29 | bool readtableinfo(uint64_t, const unsigned char *, tableinfo_t *); | 29 | int64_t readtableinfo(size_t, const unsigned char *, tableinfo_t *); |
| 30 | 30 | ||
| 31 | void run(void) { | 31 | void run(void) { |
| 32 | uint32_t i; | 32 | uint32_t i; |
| @@ -40,7 +40,7 @@ void run(void) { | |||
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | printf("%zu\n", result); | 42 | printf("%zu\n", result); |
| 43 | printf("Classes (ESEP only): %zu\n", info.classes); | 43 | printf("Classes (ESEP only): %" PRIu64 "\n", info.classes); |
| 44 | for (i = 0; i <= DEPTH; i++) | 44 | for (i = 0; i <= DEPTH; i++) |
| 45 | printf("%" PRIu32 ": %" PRIu64 "\n", i, info.distribution[i]); | 45 | printf("%" PRIu32 ": %" PRIu64 "\n", i, info.distribution[i]); |
| 46 | } | 46 | } |
diff --git a/test/120_gendata_eo/gendata_eo_tests.c b/test/120_gendata_eo/gendata_eo_tests.c index 08c495e..ec1fd64 100644 --- a/test/120_gendata_eo/gendata_eo_tests.c +++ b/test/120_gendata_eo/gendata_eo_tests.c | |||
| @@ -17,8 +17,8 @@ Pruning table values (from nissy): | |||
| 17 | 17 | ||
| 18 | unsigned char buf[FULLSIZE]; | 18 | unsigned char buf[FULLSIZE]; |
| 19 | 19 | ||
| 20 | size_t gendata_coord_dispatch(const char *, unsigned char *); | 20 | int64_t gendata_coord_dispatch(const char *, unsigned char *); |
| 21 | bool readtableinfo(uint64_t, const unsigned char *, tableinfo_t *); | 21 | int64_t readtableinfo(size_t, const unsigned char *, tableinfo_t *); |
| 22 | 22 | ||
| 23 | void run(void) { | 23 | void run(void) { |
| 24 | uint32_t i; | 24 | uint32_t i; |
diff --git a/test/121_coorddata_dr/coorddata_dr.c b/test/121_coorddata_dr/coorddata_dr.c index e8407c8..d8ac94a 100644 --- a/test/121_coorddata_dr/coorddata_dr.c +++ b/test/121_coorddata_dr/coorddata_dr.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | cube_t transform(cube_t, uint8_t); | 7 | cube_t transform(cube_t, uint8_t); |
| 8 | uint64_t coordinate_dr_coord(cube_t, const unsigned char *); | 8 | uint64_t coordinate_dr_coord(cube_t, const unsigned char *); |
| 9 | cube_t coordinate_dr_cube(uint64_t, const unsigned char *); | 9 | cube_t coordinate_dr_cube(uint64_t, const unsigned char *); |
| 10 | uint64_t coordinate_dr_gendata(unsigned char *); | 10 | size_t coordinate_dr_gendata(unsigned char *); |
| 11 | 11 | ||
| 12 | void run(void) { | 12 | void run(void) { |
| 13 | bool found; | 13 | bool found; |
diff --git a/test/122_coorddata_dreo/coorddata_dreo.c b/test/122_coorddata_dreo/coorddata_dreo.c index 942e837..2b99b7f 100644 --- a/test/122_coorddata_dreo/coorddata_dreo.c +++ b/test/122_coorddata_dreo/coorddata_dreo.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | cube_t transform(cube_t, uint8_t); | 7 | cube_t transform(cube_t, uint8_t); |
| 8 | uint64_t coordinate_dreo_coord(cube_t, const unsigned char *); | 8 | uint64_t coordinate_dreo_coord(cube_t, const unsigned char *); |
| 9 | cube_t coordinate_dreo_cube(uint64_t, const unsigned char *); | 9 | cube_t coordinate_dreo_cube(uint64_t, const unsigned char *); |
| 10 | uint64_t coordinate_dreo_gendata(unsigned char *); | 10 | size_t coordinate_dreo_gendata(unsigned char *); |
| 11 | 11 | ||
| 12 | void run(void) { | 12 | void run(void) { |
| 13 | bool found; | 13 | bool found; |
