diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-29 12:12:43 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-29 12:12:43 +0200 |
| commit | ea0387796a349c91032fbcb10f50c6ad8607b0f6 (patch) | |
| tree | aed484690d24c0c28c7695d4b5389f2e3c341b96 /test/078_invcoord_esep | |
| parent | 52c21640508c3fc668107778ae027ff4428ebd89 (diff) | |
| download | nissy-core-ea0387796a349c91032fbcb10f50c6ad8607b0f6.tar.gz nissy-core-ea0387796a349c91032fbcb10f50c6ad8607b0f6.zip | |
All coordinates unsigned
Diffstat (limited to 'test/078_invcoord_esep')
| -rw-r--r-- | test/078_invcoord_esep/invcoord_esep_tests.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/078_invcoord_esep/invcoord_esep_tests.c b/test/078_invcoord_esep/invcoord_esep_tests.c index 9945e77..16db3a0 100644 --- a/test/078_invcoord_esep/invcoord_esep_tests.c +++ b/test/078_invcoord_esep/invcoord_esep_tests.c | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | #include "../test.h" | 1 | #include "../test.h" |
| 2 | 2 | ||
| 3 | int64_t coord_esep(cube_t); | 3 | uint64_t coord_esep(cube_t); |
| 4 | cube_t invcoord_esep(int64_t); | 4 | cube_t invcoord_esep(uint64_t); |
| 5 | 5 | ||
| 6 | void run(void) { | 6 | void run(void) { |
| 7 | char str[STRLENMAX]; | 7 | char str[STRLENMAX]; |
| 8 | oriented_cube_t cube; | 8 | oriented_cube_t cube; |
| 9 | int64_t i; | 9 | uint64_t i; |
| 10 | 10 | ||
| 11 | fgets(str, STRLENMAX, stdin); | 11 | fgets(str, STRLENMAX, stdin); |
| 12 | cube = readcube(str); | 12 | cube = readcube(str); |
| @@ -15,5 +15,5 @@ void run(void) { | |||
| 15 | cube.cube = invcoord_esep(i); | 15 | cube.cube = invcoord_esep(i); |
| 16 | i = coord_esep(cube.cube); | 16 | i = coord_esep(cube.cube); |
| 17 | 17 | ||
| 18 | printf("%" PRId64 "\n", i); | 18 | printf("%" PRIu64 "\n", i); |
| 19 | } | 19 | } |
