aboutsummaryrefslogtreecommitdiff
path: root/test/100_gendata_cocsep
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-04 14:29:00 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-04 14:29:00 +0200
commit283effb16646112ee9c6bba57e021e80f322b29f (patch)
tree3c0ad588e550f86df21687e82a17e9f1f60443be /test/100_gendata_cocsep
parentfc150adaf3bff133da0e59d842f13b7b21297fc0 (diff)
downloadnissy-core-283effb16646112ee9c6bba57e021e80f322b29f.tar.gz
nissy-core-283effb16646112ee9c6bba57e021e80f322b29f.zip
Avoid repeating typedefs in tests
Diffstat (limited to 'test/100_gendata_cocsep')
-rw-r--r--test/100_gendata_cocsep/gendata_cocsep_tests.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/100_gendata_cocsep/gendata_cocsep_tests.c b/test/100_gendata_cocsep/gendata_cocsep_tests.c
index 62f52fb..296df28 100644
--- a/test/100_gendata_cocsep/gendata_cocsep_tests.c
+++ b/test/100_gendata_cocsep/gendata_cocsep_tests.c
@@ -1,26 +1,5 @@
1#include "../test.h" 1#include "../test.h"
2 2
3#define INFOSIZE 512
4#define INFO_SOLVER_STRLEN 100
5#define INFO_DISTRIBUTION_LEN 21
6#define COCSEP_CLASSES 3393
7
8typedef struct {
9 uint64_t distribution[INFO_DISTRIBUTION_LEN];
10 uint64_t type;
11 uint64_t infosize;
12 uint64_t fullsize;
13 uint64_t hash;
14 uint64_t entries;
15 uint64_t classes; /* Used only by cocsepdata, for now */
16 uint64_t next;
17 char solver[INFO_SOLVER_STRLEN];
18 uint8_t h48h;
19 uint8_t bits;
20 uint8_t base;
21 uint8_t maxvalue;
22} tableinfo_t;
23
24size_t gendata_cocsep(void *, uint64_t *, cube_t *); 3size_t gendata_cocsep(void *, uint64_t *, cube_t *);
25bool readtableinfo(const void *, tableinfo_t *); 4bool readtableinfo(const void *, tableinfo_t *);
26 5

Generated with cgit - Back to sebastiano.tronto.net