diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 16:12:21 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 16:12:21 +0200 |
| commit | bab22e1946a656088804b61cf765461b48744971 (patch) | |
| tree | 43ae3798e5c2f4fc63e68df72d134e742fcaf834 /test/078_invcoord_esep | |
| parent | 93522effba2f200257141189de5925a23fca93b8 (diff) | |
| download | nissy-core-bab22e1946a656088804b61cf765461b48744971.tar.gz nissy-core-bab22e1946a656088804b61cf765461b48744971.zip | |
Update tests for oriented_cube_t
Diffstat (limited to 'test/078_invcoord_esep')
| -rw-r--r-- | test/078_invcoord_esep/invcoord_esep_tests.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/078_invcoord_esep/invcoord_esep_tests.c b/test/078_invcoord_esep/invcoord_esep_tests.c index ebf35b0..9945e77 100644 --- a/test/078_invcoord_esep/invcoord_esep_tests.c +++ b/test/078_invcoord_esep/invcoord_esep_tests.c | |||
| @@ -5,15 +5,15 @@ cube_t invcoord_esep(int64_t); | |||
| 5 | 5 | ||
| 6 | void run(void) { | 6 | void run(void) { |
| 7 | char str[STRLENMAX]; | 7 | char str[STRLENMAX]; |
| 8 | cube_t cube; | 8 | oriented_cube_t cube; |
| 9 | int64_t i; | 9 | int64_t i; |
| 10 | 10 | ||
| 11 | fgets(str, STRLENMAX, stdin); | 11 | fgets(str, STRLENMAX, stdin); |
| 12 | cube = readcube(str); | 12 | cube = readcube(str); |
| 13 | 13 | ||
| 14 | i = coord_esep(cube); | 14 | i = coord_esep(cube.cube); |
| 15 | cube = invcoord_esep(i); | 15 | cube.cube = invcoord_esep(i); |
| 16 | i = coord_esep(cube); | 16 | i = coord_esep(cube.cube); |
| 17 | 17 | ||
| 18 | printf("%" PRId64 "\n", i); | 18 | printf("%" PRId64 "\n", i); |
| 19 | } | 19 | } |
