From 270e5b0444f67781856bf80db51650af9cb89b0c Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 17 Jul 2025 08:54:44 +0200 Subject: Renamed tests to make space for more coordinate tests --- test/100_gendata_cocsep/gendata_cocsep_tests.c | 27 -------------------------- 1 file changed, 27 deletions(-) delete mode 100644 test/100_gendata_cocsep/gendata_cocsep_tests.c (limited to 'test/100_gendata_cocsep/gendata_cocsep_tests.c') diff --git a/test/100_gendata_cocsep/gendata_cocsep_tests.c b/test/100_gendata_cocsep/gendata_cocsep_tests.c deleted file mode 100644 index c1eef77..0000000 --- a/test/100_gendata_cocsep/gendata_cocsep_tests.c +++ /dev/null @@ -1,27 +0,0 @@ -#include "../test.h" - -#define BUF_SIZE 2000000 - -size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); -int64_t readtableinfo(size_t, const unsigned char *, tableinfo_t *); - -void run(void) { - unsigned char buf[BUF_SIZE]; - uint32_t i; - uint64_t selfsim[COCSEP_CLASSES]; - cube_t rep[COCSEP_CLASSES]; - size_t result; - tableinfo_t info; - - result = gendata_cocsep(buf, selfsim, rep); - if (readtableinfo(BUF_SIZE, buf, &info) != NISSY_OK) { - printf("Error reading info from table\n"); - return; - } - - printf("%zu\n", result); - printf("Classes: %" PRIu64 "\n", info.classes); - printf("Max value: %" PRIu8 "\n", info.maxvalue); - for (i = 0; i < 10; i++) - printf("%" PRIu32 ": %" PRIu64 "\n", i, info.distribution[i]); -} -- cgit v1.3