From e986713657bc5f9880e91ed49dd9b0d0227f048d Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 17 Jun 2024 17:39:06 +0200 Subject: Use callback function to log to stderr --- test/102_coord_invcoord_h48/coord_invcoord_h48_tests.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/102_coord_invcoord_h48') 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); cube_t invcoord_h48(int64_t, const cube_t *, uint8_t); cube_t transform(cube_t, uint8_t); -int main(void) { +void run(void) { char str[STRLENMAX]; int i; bool found; @@ -33,6 +33,4 @@ int main(void) { printf("%d %s\n", i, found ? "ok" : "ERROR"); i++; } - - return 0; } -- cgit v1.3