aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorenricotenuti <tenutz_27@outlook.it>2024-09-29 12:42:31 +0200
committerenricotenuti <tenutz_27@outlook.it>2024-09-29 12:42:31 +0200
commit7a52b4cd50a40e4bce919b6bd51203d0e9867141 (patch)
tree95ab133f9771c4791d5c784f1b3d4822b1dd7d3c /test
parent8fcfb3a33fe053ed2032d58ecc0b5d640c155931 (diff)
parent774a824a6c80b5af495f4fb99d98758e3b9f6b81 (diff)
downloadnissy-core-7a52b4cd50a40e4bce919b6bd51203d0e9867141.tar.gz
nissy-core-7a52b4cd50a40e4bce919b6bd51203d0e9867141.zip
Merge remote-tracking branch 'upstream/master'
Merge upstream
Diffstat (limited to 'test')
-rw-r--r--test/090_tables_readwrite/tables_readwrite_tests.c6
-rw-r--r--test/100_gendata_cocsep/gendata_cocsep_tests.c6
-rw-r--r--test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c7
3 files changed, 10 insertions, 9 deletions
diff --git a/test/090_tables_readwrite/tables_readwrite_tests.c b/test/090_tables_readwrite/tables_readwrite_tests.c
index e1c2015..73c4e21 100644
--- a/test/090_tables_readwrite/tables_readwrite_tests.c
+++ b/test/090_tables_readwrite/tables_readwrite_tests.c
@@ -5,19 +5,19 @@
5#define INFO_DISTRIBUTION_LEN 21 5#define INFO_DISTRIBUTION_LEN 21
6 6
7typedef struct { 7typedef struct {
8 char solver[INFO_SOLVER_STRLEN]; 8 uint64_t distribution[INFO_DISTRIBUTION_LEN];
9 uint64_t type; 9 uint64_t type;
10 uint64_t infosize; 10 uint64_t infosize;
11 uint64_t fullsize; 11 uint64_t fullsize;
12 uint64_t hash; 12 uint64_t hash;
13 uint64_t entries; 13 uint64_t entries;
14 uint64_t classes; 14 uint64_t classes;
15 uint64_t next;
16 char solver[INFO_SOLVER_STRLEN];
15 uint8_t h48h; 17 uint8_t h48h;
16 uint8_t bits; 18 uint8_t bits;
17 uint8_t base; 19 uint8_t base;
18 uint8_t maxvalue; 20 uint8_t maxvalue;
19 uint64_t next;
20 uint64_t distribution[INFO_DISTRIBUTION_LEN];
21} tableinfo_t; 21} tableinfo_t;
22 22
23bool readtableinfo(const void *, tableinfo_t *); 23bool readtableinfo(const void *, tableinfo_t *);
diff --git a/test/100_gendata_cocsep/gendata_cocsep_tests.c b/test/100_gendata_cocsep/gendata_cocsep_tests.c
index 7630a71..62f52fb 100644
--- a/test/100_gendata_cocsep/gendata_cocsep_tests.c
+++ b/test/100_gendata_cocsep/gendata_cocsep_tests.c
@@ -6,19 +6,19 @@
6#define COCSEP_CLASSES 3393 6#define COCSEP_CLASSES 3393
7 7
8typedef struct { 8typedef struct {
9 char solver[INFO_SOLVER_STRLEN]; 9 uint64_t distribution[INFO_DISTRIBUTION_LEN];
10 uint64_t type; 10 uint64_t type;
11 uint64_t infosize; 11 uint64_t infosize;
12 uint64_t fullsize; 12 uint64_t fullsize;
13 uint64_t hash; 13 uint64_t hash;
14 uint64_t entries; 14 uint64_t entries;
15 uint64_t classes; /* Used only by cocsepdata, for now */ 15 uint64_t classes; /* Used only by cocsepdata, for now */
16 uint64_t next;
17 char solver[INFO_SOLVER_STRLEN];
16 uint8_t h48h; 18 uint8_t h48h;
17 uint8_t bits; 19 uint8_t bits;
18 uint8_t base; 20 uint8_t base;
19 uint8_t maxvalue; 21 uint8_t maxvalue;
20 uint64_t next;
21 uint64_t distribution[INFO_DISTRIBUTION_LEN];
22} tableinfo_t; 22} tableinfo_t;
23 23
24size_t gendata_cocsep(void *, uint64_t *, cube_t *); 24size_t gendata_cocsep(void *, uint64_t *, cube_t *);
diff --git a/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c b/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c
index 41ab10a..7c5b441 100644
--- a/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c
+++ b/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c
@@ -6,24 +6,25 @@
6#define INFO_DISTRIBUTION_LEN 21 6#define INFO_DISTRIBUTION_LEN 21
7 7
8typedef struct { 8typedef struct {
9 char solver[INFO_SOLVER_STRLEN]; 9 uint64_t distribution[INFO_DISTRIBUTION_LEN];
10 uint64_t type; 10 uint64_t type;
11 uint64_t infosize; 11 uint64_t infosize;
12 uint64_t fullsize; 12 uint64_t fullsize;
13 uint64_t hash; 13 uint64_t hash;
14 uint64_t entries; 14 uint64_t entries;
15 uint64_t classes; /* Used only by cocsepdata, for now */ 15 uint64_t classes; /* Used only by cocsepdata, for now */
16 uint64_t next;
17 char solver[INFO_SOLVER_STRLEN];
16 uint8_t h48h; 18 uint8_t h48h;
17 uint8_t bits; 19 uint8_t bits;
18 uint8_t base; 20 uint8_t base;
19 uint8_t maxvalue; 21 uint8_t maxvalue;
20 uint64_t next;
21 uint64_t distribution[INFO_DISTRIBUTION_LEN];
22} tableinfo_t; 22} tableinfo_t;
23 23
24typedef struct { 24typedef struct {
25 uint8_t h; 25 uint8_t h;
26 uint8_t k; 26 uint8_t k;
27 uint8_t base;
27 uint8_t maxdepth; 28 uint8_t maxdepth;
28 tableinfo_t info; 29 tableinfo_t info;
29 void *buf; 30 void *buf;

Generated with cgit - Back to sebastiano.tronto.net