diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/100_gendata_cocsep/gendata_cocsep_tests.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/100_gendata_cocsep/gendata_cocsep_tests.c b/test/100_gendata_cocsep/gendata_cocsep_tests.c index 36dd5ce..4e0dce5 100644 --- a/test/100_gendata_cocsep/gendata_cocsep_tests.c +++ b/test/100_gendata_cocsep/gendata_cocsep_tests.c | |||
| @@ -1,12 +1,16 @@ | |||
| 1 | #include "../test.h" | 1 | #include "../test.h" |
| 2 | 2 | ||
| 3 | size_t gendata_cocsep(void *); | 3 | #define COCSEP_CLASSES 3393U |
| 4 | |||
| 5 | size_t gendata_cocsep(void *, uint64_t *, cube_fast_t *); | ||
| 4 | 6 | ||
| 5 | int main(void) { | 7 | int main(void) { |
| 6 | uint32_t buf[300000], i; | 8 | uint32_t buf[300000], i; |
| 9 | uint64_t selfsim[COCSEP_CLASSES]; | ||
| 10 | cube_fast_t rep[COCSEP_CLASSES]; | ||
| 7 | size_t result; | 11 | size_t result; |
| 8 | 12 | ||
| 9 | result = gendata_cocsep(buf); | 13 | result = gendata_cocsep(buf, selfsim, rep); |
| 10 | 14 | ||
| 11 | printf("%zu\n", result); | 15 | printf("%zu\n", result); |
| 12 | printf("Classes: %" PRIu32 "\n", buf[result/4-12]); | 16 | printf("Classes: %" PRIu32 "\n", buf[result/4-12]); |
