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/075_set_eo | |
| parent | 02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5 (diff) | |
| download | nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.tar.gz nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.zip | |
Use callback function to log to stderr
Diffstat (limited to 'test/075_set_eo')
| -rw-r--r-- | test/075_set_eo/set_eo_tests.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/075_set_eo/set_eo_tests.c b/test/075_set_eo/set_eo_tests.c index 9c01a50..fb2c23e 100644 --- a/test/075_set_eo/set_eo_tests.c +++ b/test/075_set_eo/set_eo_tests.c | |||
| @@ -4,7 +4,7 @@ int64_t coord_eo(cube_t); | |||
| 4 | void set_eo(cube_t *, int64_t); | 4 | void set_eo(cube_t *, int64_t); |
| 5 | void pieces(cube_t *, uint8_t [static 8], uint8_t [static 12]); | 5 | void pieces(cube_t *, uint8_t [static 8], uint8_t [static 12]); |
| 6 | 6 | ||
| 7 | int main(void) { | 7 | void run(void) { |
| 8 | char str[STRLENMAX]; | 8 | char str[STRLENMAX]; |
| 9 | cube_t cube; | 9 | cube_t cube; |
| 10 | uint8_t edge[12], corner[8]; | 10 | uint8_t edge[12], corner[8]; |
| @@ -33,6 +33,4 @@ int main(void) { | |||
| 33 | writecube("H48", cube, str); | 33 | writecube("H48", cube, str); |
| 34 | printf("%s\n", str); | 34 | printf("%s\n", str); |
| 35 | } | 35 | } |
| 36 | |||
| 37 | return 0; | ||
| 38 | } | 36 | } |
