diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 11:14:06 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 11:14:06 +0200 |
| commit | cd866d68cf1bf6ea928cc48a4f2b753c0b1baa6f (patch) | |
| tree | f50ad0087e90e301240b6c93dcd267cbe49b282d /test/040_inverse_cube/inverse_tests.c | |
| parent | 8b72e391c7185e3da0dfbf0ab60068ac37e4d5cc (diff) | |
| download | nissy-core-cd866d68cf1bf6ea928cc48a4f2b753c0b1baa6f.tar.gz nissy-core-cd866d68cf1bf6ea928cc48a4f2b753c0b1baa6f.zip | |
Updated tests and added fixed =A to B32 output
Diffstat (limited to 'test/040_inverse_cube/inverse_tests.c')
| -rw-r--r-- | test/040_inverse_cube/inverse_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/040_inverse_cube/inverse_tests.c b/test/040_inverse_cube/inverse_tests.c index c1045ab..9e8925a 100644 --- a/test/040_inverse_cube/inverse_tests.c +++ b/test/040_inverse_cube/inverse_tests.c | |||
| @@ -7,7 +7,7 @@ void run(void) { | |||
| 7 | cube_t cube, inv; | 7 | cube_t cube, inv; |
| 8 | 8 | ||
| 9 | fgets(str, STRLENMAX, stdin); | 9 | fgets(str, STRLENMAX, stdin); |
| 10 | cube = readcube("H48", str); | 10 | cube = readcube(str); |
| 11 | inv = inverse(cube); | 11 | inv = inverse(cube); |
| 12 | 12 | ||
| 13 | if (iserror(inv)) { | 13 | if (iserror(inv)) { |
| @@ -15,7 +15,7 @@ void run(void) { | |||
| 15 | } else if (!issolvable(inv)) { | 15 | } else if (!issolvable(inv)) { |
| 16 | printf("Inverted cube is not solvable\n"); | 16 | printf("Inverted cube is not solvable\n"); |
| 17 | } else { | 17 | } else { |
| 18 | writecube("H48", inv, NISSY_SIZE_H48, str); | 18 | writecube(inv, NISSY_SIZE_CUBE, str); |
| 19 | printf("%s\n", str); | 19 | printf("%s\n", str); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
