diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-17 17:39:06 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-17 17:39:30 +0200 |
| commit | e986713657bc5f9880e91ed49dd9b0d0227f048d (patch) | |
| tree | 908d371e60546795c4ca1f9a3b67571b964203c5 /test/102_coord_invcoord_h48 | |
| parent | 02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5 (diff) | |
| download | nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.tar.gz nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.zip | |
Use callback function to log to stderr
Diffstat (limited to 'test/102_coord_invcoord_h48')
| -rw-r--r-- | test/102_coord_invcoord_h48/coord_invcoord_h48_tests.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/102_coord_invcoord_h48/coord_invcoord_h48_tests.c b/test/102_coord_invcoord_h48/coord_invcoord_h48_tests.c index b0668df..77dea81 100644 --- a/test/102_coord_invcoord_h48/coord_invcoord_h48_tests.c +++ b/test/102_coord_invcoord_h48/coord_invcoord_h48_tests.c | |||
| @@ -7,7 +7,7 @@ int64_t coord_h48(cube_t, const uint32_t *, uint8_t); | |||
| 7 | cube_t invcoord_h48(int64_t, const cube_t *, uint8_t); | 7 | cube_t invcoord_h48(int64_t, const cube_t *, uint8_t); |
| 8 | cube_t transform(cube_t, uint8_t); | 8 | cube_t transform(cube_t, uint8_t); |
| 9 | 9 | ||
| 10 | int main(void) { | 10 | void run(void) { |
| 11 | char str[STRLENMAX]; | 11 | char str[STRLENMAX]; |
| 12 | int i; | 12 | int i; |
| 13 | bool found; | 13 | bool found; |
| @@ -33,6 +33,4 @@ int main(void) { | |||
| 33 | printf("%d %s\n", i, found ? "ok" : "ERROR"); | 33 | printf("%d %s\n", i, found ? "ok" : "ERROR"); |
| 34 | i++; | 34 | i++; |
| 35 | } | 35 | } |
| 36 | |||
| 37 | return 0; | ||
| 38 | } | 36 | } |
