aboutsummaryrefslogtreecommitdiff
path: root/test/110_coord_invcoord_h48
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-09-10 19:43:05 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-09-10 19:43:05 +0200
commit70d3a3de3a2fdef7e47b2bd510261d69390a3a9c (patch)
tree2c545953d0b61b37c4f281cd47981e9350b5c09b /test/110_coord_invcoord_h48
parent1f4900a3cc6ca74f94b73e224d14a09d52c4549c (diff)
downloadnissy-core-70d3a3de3a2fdef7e47b2bd510261d69390a3a9c.tar.gz
nissy-core-70d3a3de3a2fdef7e47b2bd510261d69390a3a9c.zip
New tableinfo for gendata_h48, still work to do
Diffstat (limited to 'test/110_coord_invcoord_h48')
-rw-r--r--test/110_coord_invcoord_h48/coord_invcoord_h48_tests.c7
1 files changed, 5 insertions, 2 deletions
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 @@
1#include "../test.h" 1#include "../test.h"
2 2
3#define COCSEP_CLASSES 3393 3#define COCSEP_CLASSES 3393
4#define INFOSIZE 512
4 5
5size_t gendata_cocsep(void *, uint64_t *, cube_t *); 6size_t gendata_cocsep(void *, uint64_t *, cube_t *);
6int64_t coord_h48(cube_t, const uint32_t *, uint8_t); 7int64_t coord_h48(cube_t, const uint32_t *, uint8_t);
@@ -12,12 +13,14 @@ void run(void) {
12 int i; 13 int i;
13 bool found; 14 bool found;
14 uint8_t h, t; 15 uint8_t h, t;
15 uint32_t cocsepdata[300000]; 16 char buf[2000000];
17 uint32_t *cocsepdata;
16 uint64_t selfsim[COCSEP_CLASSES]; 18 uint64_t selfsim[COCSEP_CLASSES];
17 int64_t c, cc; 19 int64_t c, cc;
18 cube_t cube, invc, rep[COCSEP_CLASSES]; 20 cube_t cube, invc, rep[COCSEP_CLASSES];
19 21
20 gendata_cocsep(cocsepdata, selfsim, rep); 22 gendata_cocsep(buf, selfsim, rep);
23 cocsepdata = (uint32_t *)((char *)buf + INFOSIZE);
21 24
22 i = 1; 25 i = 1;
23 h = 11; 26 h = 11;

Generated with cgit - Back to sebastiano.tronto.net