diff options
Diffstat (limited to 'test/079_invcoord_co')
| -rw-r--r-- | test/079_invcoord_co/invcoord_co_tests.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/079_invcoord_co/invcoord_co_tests.c b/test/079_invcoord_co/invcoord_co_tests.c index fcd68d0..dd5853e 100644 --- a/test/079_invcoord_co/invcoord_co_tests.c +++ b/test/079_invcoord_co/invcoord_co_tests.c | |||
| @@ -2,12 +2,12 @@ | |||
| 2 | 2 | ||
| 3 | #define POW_3_7 2187 | 3 | #define POW_3_7 2187 |
| 4 | 4 | ||
| 5 | int64_t coord_co(cube_t); | 5 | uint64_t coord_co(cube_t); |
| 6 | cube_t invcoord_co(int64_t); | 6 | cube_t invcoord_co(uint64_t); |
| 7 | 7 | ||
| 8 | void run(void) { | 8 | void run(void) { |
| 9 | oriented_cube_t cube; | 9 | oriented_cube_t cube; |
| 10 | int64_t coord, coord2; | 10 | uint64_t coord, coord2; |
| 11 | 11 | ||
| 12 | cube.orientation = 0; | 12 | cube.orientation = 0; |
| 13 | 13 | ||
| @@ -26,8 +26,8 @@ void run(void) { | |||
| 26 | 26 | ||
| 27 | coord2 = coord_co(cube.cube); | 27 | coord2 = coord_co(cube.cube); |
| 28 | if (coord != coord2) { | 28 | if (coord != coord2) { |
| 29 | printf("Error: invcoord of %" PRId64 | 29 | printf("Error: invcoord of %" PRIu64 |
| 30 | " returns %" PRId64 "\n", coord, coord2); | 30 | " returns %" PRIu64 "\n", coord, coord2); |
| 31 | return; | 31 | return; |
| 32 | } | 32 | } |
| 33 | } | 33 | } |
