aboutsummaryrefslogtreecommitdiff
path: root/test/081_invcoord_epud
diff options
context:
space:
mode:
Diffstat (limited to 'test/081_invcoord_epud')
-rw-r--r--test/081_invcoord_epud/invcoord_epud_tests.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/081_invcoord_epud/invcoord_epud_tests.c b/test/081_invcoord_epud/invcoord_epud_tests.c
index bf444cc..6d7672b 100644
--- a/test/081_invcoord_epud/invcoord_epud_tests.c
+++ b/test/081_invcoord_epud/invcoord_epud_tests.c
@@ -2,12 +2,12 @@
2 2
3#define FACT_8 40320 3#define FACT_8 40320
4 4
5int64_t coord_epud(cube_t); 5uint64_t coord_epud(cube_t);
6cube_t invcoord_epud(int64_t); 6cube_t invcoord_epud(uint64_t);
7 7
8void run(void) { 8void 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
@@ -22,8 +22,8 @@ void run(void) {
22 22
23 coord2 = coord_epud(cube.cube); 23 coord2 = coord_epud(cube.cube);
24 if (coord != coord2) { 24 if (coord != coord2) {
25 printf("Error: invcoord of %" PRId64 25 printf("Error: invcoord of %" PRIu64
26 " returns %" PRId64 "\n", coord, coord2); 26 " returns %" PRIu64 "\n", coord, coord2);
27 return; 27 return;
28 } 28 }
29 } 29 }

Generated with cgit - Back to sebastiano.tronto.net