diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-10 14:44:48 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-10 14:44:48 +0100 |
| commit | fb9ae9e41eaf01b3651395fdd450ac1a4743e592 (patch) | |
| tree | 8fb29e9b62d40d6407f082f55a7164775154bf78 /test/040_compose | |
| parent | 04c3ee1f5acac47650be8d0ffbf90e238df0d12b (diff) | |
| download | nissy-core-fb9ae9e41eaf01b3651395fdd450ac1a4743e592.tar.gz nissy-core-fb9ae9e41eaf01b3651395fdd450ac1a4743e592.zip | |
Big changes to the interface
Diffstat (limited to 'test/040_compose')
| -rw-r--r-- | test/040_compose/compose_tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/040_compose/compose_tests.c b/test/040_compose/compose_tests.c index 62f636e..c9c11af 100644 --- a/test/040_compose/compose_tests.c +++ b/test/040_compose/compose_tests.c | |||
| @@ -15,9 +15,9 @@ int main() { | |||
| 15 | cube_t c1, c2, c3; | 15 | cube_t c1, c2, c3; |
| 16 | 16 | ||
| 17 | fgets(str, STRLENMAX, stdin); | 17 | fgets(str, STRLENMAX, stdin); |
| 18 | c1 = readcube(H48, str); | 18 | c1 = readcube("H48", str); |
| 19 | fgets(str, STRLENMAX, stdin); | 19 | fgets(str, STRLENMAX, stdin); |
| 20 | c2 = readcube(H48, str); | 20 | c2 = readcube("H48", str); |
| 21 | 21 | ||
| 22 | c3 = compose(c1, c2); | 22 | c3 = compose(c1, c2); |
| 23 | 23 | ||
| @@ -26,7 +26,7 @@ int main() { | |||
| 26 | } else if (!issolvable(c3)) { | 26 | } else if (!issolvable(c3)) { |
| 27 | printf("Composed cube is not solvable\n"); | 27 | printf("Composed cube is not solvable\n"); |
| 28 | } else { | 28 | } else { |
| 29 | writecube(H48, c3, str); | 29 | writecube("H48", c3, str); |
| 30 | printf("%s\n", str); | 30 | printf("%s\n", str); |
| 31 | } | 31 | } |
| 32 | 32 | ||
