diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-04 14:29:00 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-04 14:29:00 +0200 |
| commit | 283effb16646112ee9c6bba57e021e80f322b29f (patch) | |
| tree | 3c0ad588e550f86df21687e82a17e9f1f60443be /test/103_cocsep_selfsim_distribution | |
| parent | fc150adaf3bff133da0e59d842f13b7b21297fc0 (diff) | |
| download | nissy-core-283effb16646112ee9c6bba57e021e80f322b29f.tar.gz nissy-core-283effb16646112ee9c6bba57e021e80f322b29f.zip | |
Avoid repeating typedefs in tests
Diffstat (limited to 'test/103_cocsep_selfsim_distribution')
| -rw-r--r-- | test/103_cocsep_selfsim_distribution/cocsep_selfsim_distribution_tests.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/103_cocsep_selfsim_distribution/cocsep_selfsim_distribution_tests.c b/test/103_cocsep_selfsim_distribution/cocsep_selfsim_distribution_tests.c index 84e3fd8..a907317 100644 --- a/test/103_cocsep_selfsim_distribution/cocsep_selfsim_distribution_tests.c +++ b/test/103_cocsep_selfsim_distribution/cocsep_selfsim_distribution_tests.c | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | #include "../test.h" | 1 | #include "../test.h" |
| 2 | 2 | ||
| 3 | #define COCSEP_CLASSES 3393 | ||
| 4 | |||
| 5 | size_t gendata_cocsep(void *, uint64_t *, cube_t *); | 3 | size_t gendata_cocsep(void *, uint64_t *, cube_t *); |
| 6 | int64_t coord_cocsep(cube_t); | 4 | int64_t coord_cocsep(cube_t); |
| 7 | 5 | ||
| @@ -19,8 +17,7 @@ int bcount(uint64_t x) { | |||
| 19 | void run(void) { | 17 | void run(void) { |
| 20 | char buf[2000000]; | 18 | char buf[2000000]; |
| 21 | int size[65], tot, j; | 19 | int size[65], tot, j; |
| 22 | int64_t i; | 20 | uint64_t i, selfsim[COCSEP_CLASSES], sim; |
| 23 | uint64_t selfsim[COCSEP_CLASSES], sim; | ||
| 24 | cube_t rep[COCSEP_CLASSES]; | 21 | cube_t rep[COCSEP_CLASSES]; |
| 25 | 22 | ||
| 26 | memset(size, 0, 65 * sizeof(int)); | 23 | memset(size, 0, 65 * sizeof(int)); |
