From 70d3a3de3a2fdef7e47b2bd510261d69390a3a9c Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 10 Sep 2024 19:43:05 +0200 Subject: New tableinfo for gendata_h48, still work to do --- test/110_coord_invcoord_h48/coord_invcoord_h48_tests.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/110_coord_invcoord_h48') diff --git a/test/110_coord_invcoord_h48/coord_invcoord_h48_tests.c b/test/110_coord_invcoord_h48/coord_invcoord_h48_tests.c index 77dea81..1fcbabd 100644 --- a/test/110_coord_invcoord_h48/coord_invcoord_h48_tests.c +++ b/test/110_coord_invcoord_h48/coord_invcoord_h48_tests.c @@ -1,6 +1,7 @@ #include "../test.h" #define COCSEP_CLASSES 3393 +#define INFOSIZE 512 size_t gendata_cocsep(void *, uint64_t *, cube_t *); int64_t coord_h48(cube_t, const uint32_t *, uint8_t); @@ -12,12 +13,14 @@ void run(void) { int i; bool found; uint8_t h, t; - uint32_t cocsepdata[300000]; + char buf[2000000]; + uint32_t *cocsepdata; uint64_t selfsim[COCSEP_CLASSES]; int64_t c, cc; cube_t cube, invc, rep[COCSEP_CLASSES]; - gendata_cocsep(cocsepdata, selfsim, rep); + gendata_cocsep(buf, selfsim, rep); + cocsepdata = (uint32_t *)((char *)buf + INFOSIZE); i = 1; h = 11; -- cgit v1.3