aboutsummaryrefslogtreecommitdiff
path: root/test/114_cocsep_ttrep
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-07-29 12:12:43 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-07-29 12:12:43 +0200
commitea0387796a349c91032fbcb10f50c6ad8607b0f6 (patch)
treeaed484690d24c0c28c7695d4b5389f2e3c341b96 /test/114_cocsep_ttrep
parent52c21640508c3fc668107778ae027ff4428ebd89 (diff)
downloadnissy-core-ea0387796a349c91032fbcb10f50c6ad8607b0f6.tar.gz
nissy-core-ea0387796a349c91032fbcb10f50c6ad8607b0f6.zip
All coordinates unsigned
Diffstat (limited to 'test/114_cocsep_ttrep')
-rw-r--r--test/114_cocsep_ttrep/cocsep_ttrep_tests.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/114_cocsep_ttrep/cocsep_ttrep_tests.c b/test/114_cocsep_ttrep/cocsep_ttrep_tests.c
index 87975a4..c5c1bb5 100644
--- a/test/114_cocsep_ttrep/cocsep_ttrep_tests.c
+++ b/test/114_cocsep_ttrep/cocsep_ttrep_tests.c
@@ -2,7 +2,7 @@
2 2
3uint8_t inverse_trans(uint8_t); 3uint8_t inverse_trans(uint8_t);
4cube_t transform_corners(cube_t, uint8_t); 4cube_t transform_corners(cube_t, uint8_t);
5int64_t coord_cocsep(cube_t); 5uint64_t coord_cocsep(cube_t);
6size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); 6size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *);
7 7
8void run(void) { 8void run(void) {
@@ -10,7 +10,7 @@ void run(void) {
10 unsigned char buf[2000000]; 10 unsigned char buf[2000000];
11 uint32_t *cocsepdata, tt; 11 uint32_t *cocsepdata, tt;
12 uint64_t i, selfsim[COCSEP_CLASSES]; 12 uint64_t i, selfsim[COCSEP_CLASSES];
13 int64_t j, k, l; 13 uint64_t j, k, l;
14 cube_t rep[COCSEP_CLASSES], c, d; 14 cube_t rep[COCSEP_CLASSES], c, d;
15 15
16 gendata_cocsep(buf, selfsim, rep); 16 gendata_cocsep(buf, selfsim, rep);
@@ -26,8 +26,8 @@ void run(void) {
26 k = coord_cocsep(d); 26 k = coord_cocsep(d);
27 l = coord_cocsep(c); 27 l = coord_cocsep(c);
28 if (k != l) 28 if (k != l)
29 printf("cocsep %" PRId64 " (%" PRId64 "): " 29 printf("cocsep %" PRIu64 " (%" PRIu64 "): "
30 "%" PRId64 " ttrep %" PRIu32 30 "%" PRIu64 " ttrep %" PRIu32
31 " -> %" PRId64 "\n", i, l, j, tt, k); 31 " -> %" PRId64 "\n", i, l, j, tt, k);
32 } 32 }
33 } 33 }

Generated with cgit - Back to sebastiano.tronto.net