diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-09 12:43:49 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-09 12:43:49 +0200 |
| commit | c5c5017a335208881e27fc8f72c1d0145a04622a (patch) | |
| tree | 7a1518e5b05f3fbde810fa3080c41099ba7d5ae8 /test/078_invcoord_esep | |
| parent | 28ad019d62583b7e89b4e76922aa73857d5876eb (diff) | |
| download | nissy-core-c5c5017a335208881e27fc8f72c1d0145a04622a.tar.gz nissy-core-c5c5017a335208881e27fc8f72c1d0145a04622a.zip | |
Remvoed cube_fast_t and more. More cleaning up to do.
Diffstat (limited to 'test/078_invcoord_esep')
| -rw-r--r-- | test/078_invcoord_esep/invcoord_esep_tests.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/test/078_invcoord_esep/invcoord_esep_tests.c b/test/078_invcoord_esep/invcoord_esep_tests.c index 17ea2ff..0b83175 100644 --- a/test/078_invcoord_esep/invcoord_esep_tests.c +++ b/test/078_invcoord_esep/invcoord_esep_tests.c | |||
| @@ -1,21 +1,19 @@ | |||
| 1 | #include "../test.h" | 1 | #include "../test.h" |
| 2 | 2 | ||
| 3 | int64_t coord_fast_esep(cube_fast_t); | 3 | int64_t coord_esep(cube_t); |
| 4 | cube_fast_t invcoord_fast_esep(int64_t); | 4 | cube_t invcoord_esep(int64_t); |
| 5 | 5 | ||
| 6 | int main(void) { | 6 | int main(void) { |
| 7 | char str[STRLENMAX]; | 7 | char str[STRLENMAX]; |
| 8 | cube_t cube; | 8 | cube_t cube; |
| 9 | cube_fast_t fast; | ||
| 10 | int64_t i; | 9 | int64_t i; |
| 11 | 10 | ||
| 12 | fgets(str, STRLENMAX, stdin); | 11 | fgets(str, STRLENMAX, stdin); |
| 13 | cube = readcube("H48", str); | 12 | cube = readcube("H48", str); |
| 14 | fast = cubetofast(cube); | ||
| 15 | 13 | ||
| 16 | i = coord_fast_esep(fast); | 14 | i = coord_esep(cube); |
| 17 | fast = invcoord_fast_esep(i); | 15 | cube = invcoord_esep(i); |
| 18 | i = coord_fast_esep(fast); | 16 | i = coord_esep(cube); |
| 19 | 17 | ||
| 20 | printf("%" PRId64 "\n", i); | 18 | printf("%" PRId64 "\n", i); |
| 21 | 19 | ||
