diff options
Diffstat (limited to 'test/090_tables_readwrite/tables_readwrite_tests.c')
| -rw-r--r-- | test/090_tables_readwrite/tables_readwrite_tests.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/090_tables_readwrite/tables_readwrite_tests.c b/test/090_tables_readwrite/tables_readwrite_tests.c index b062460..f3162ea 100644 --- a/test/090_tables_readwrite/tables_readwrite_tests.c +++ b/test/090_tables_readwrite/tables_readwrite_tests.c | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | typedef struct { | 7 | typedef struct { |
| 8 | char solver[INFO_SOLVER_STRLEN]; | 8 | char solver[INFO_SOLVER_STRLEN]; |
| 9 | uint64_t type; | ||
| 9 | uint64_t infosize; | 10 | uint64_t infosize; |
| 10 | uint64_t fullsize; | 11 | uint64_t fullsize; |
| 11 | uint64_t hash; | 12 | uint64_t hash; |
| @@ -39,6 +40,7 @@ tableinfo_t test_readinfo(void) { | |||
| 39 | 40 | ||
| 40 | fgets(emptyline, 2, stdin); | 41 | fgets(emptyline, 2, stdin); |
| 41 | 42 | ||
| 43 | ret.type = readn(); | ||
| 42 | ret.infosize = readn(); | 44 | ret.infosize = readn(); |
| 43 | ret.fullsize = readn(); | 45 | ret.fullsize = readn(); |
| 44 | ret.hash = readn(); | 46 | ret.hash = readn(); |
| @@ -62,6 +64,7 @@ void test_writeinfo(tableinfo_t info) { | |||
| 62 | printf("%s\n", info.solver); | 64 | printf("%s\n", info.solver); |
| 63 | printf("\n"); | 65 | printf("\n"); |
| 64 | 66 | ||
| 67 | printf("%" PRIu64 "\n", info.type); | ||
| 65 | printf("%" PRIu64 "\n", info.infosize); | 68 | printf("%" PRIu64 "\n", info.infosize); |
| 66 | printf("%" PRIu64 "\n", info.fullsize); | 69 | printf("%" PRIu64 "\n", info.fullsize); |
| 67 | printf("%" PRIu64 "\n", info.hash); | 70 | printf("%" PRIu64 "\n", info.hash); |
