aboutsummaryrefslogtreecommitdiff
path: root/test/071_coord_eo
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/071_coord_eo
parent52c21640508c3fc668107778ae027ff4428ebd89 (diff)
downloadnissy-core-ea0387796a349c91032fbcb10f50c6ad8607b0f6.tar.gz
nissy-core-ea0387796a349c91032fbcb10f50c6ad8607b0f6.zip
All coordinates unsigned
Diffstat (limited to 'test/071_coord_eo')
-rw-r--r--test/071_coord_eo/coord_eo_tests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/071_coord_eo/coord_eo_tests.c b/test/071_coord_eo/coord_eo_tests.c
index 360720e..be64ed2 100644
--- a/test/071_coord_eo/coord_eo_tests.c
+++ b/test/071_coord_eo/coord_eo_tests.c
@@ -1,16 +1,16 @@
1#include "../test.h" 1#include "../test.h"
2 2
3int64_t coord_eo(cube_t); 3uint64_t coord_eo(cube_t);
4 4
5void run(void) { 5void run(void) {
6 char str[STRLENMAX]; 6 char str[STRLENMAX];
7 oriented_cube_t cube; 7 oriented_cube_t cube;
8 int64_t result; 8 uint64_t result;
9 9
10 fgets(str, STRLENMAX, stdin); 10 fgets(str, STRLENMAX, stdin);
11 cube = readcube(str); 11 cube = readcube(str);
12 12
13 result = coord_eo(cube.cube); 13 result = coord_eo(cube.cube);
14 14
15 printf("%" PRId64 "\n", result); 15 printf("%" PRIu64 "\n", result);
16} 16}

Generated with cgit - Back to sebastiano.tronto.net