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/00_all.in | 0 test/100_gendata_cocsep/00_all.out | 13 ------------- test/100_gendata_cocsep/gendata_cocsep_tests.c | 27 -------------------------- 3 files changed, 40 deletions(-) delete mode 100644 test/100_gendata_cocsep/00_all.in delete mode 100644 test/100_gendata_cocsep/00_all.out delete mode 100644 test/100_gendata_cocsep/gendata_cocsep_tests.c (limited to 'test/100_gendata_cocsep') diff --git a/test/100_gendata_cocsep/00_all.in b/test/100_gendata_cocsep/00_all.in deleted file mode 100644 index e69de29..0000000 diff --git a/test/100_gendata_cocsep/00_all.out b/test/100_gendata_cocsep/00_all.out deleted file mode 100644 index 82eb6c2..0000000 --- a/test/100_gendata_cocsep/00_all.out +++ /dev/null @@ -1,13 +0,0 @@ -1120256 -Classes: 3393 -Max value: 9 -0: 1 -1: 6 -2: 63 -3: 468 -4: 3068 -5: 15438 -6: 53814 -7: 71352 -8: 8784 -9: 96 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