diff options
Diffstat (limited to 'test/04_compose')
| -rw-r--r-- | test/04_compose/compose_tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/04_compose/compose_tests.c b/test/04_compose/compose_tests.c index 575c2c9..a4a5f00 100644 --- a/test/04_compose/compose_tests.c +++ b/test/04_compose/compose_tests.c | |||
| @@ -11,9 +11,9 @@ int main() { | |||
| 11 | cube_t c1, c2, c3; | 11 | cube_t c1, c2, c3; |
| 12 | 12 | ||
| 13 | fgets(str, STRLENMAX, stdin); | 13 | fgets(str, STRLENMAX, stdin); |
| 14 | c1 = readcube(str); | 14 | c1 = readcube(H48, str); |
| 15 | fgets(str, STRLENMAX, stdin); | 15 | fgets(str, STRLENMAX, stdin); |
| 16 | c2 = readcube(str); | 16 | c2 = readcube(H48, str); |
| 17 | 17 | ||
| 18 | c3 = compose(c1, c2); | 18 | c3 = compose(c1, c2); |
| 19 | 19 | ||
| @@ -22,7 +22,7 @@ int main() { | |||
| 22 | } else if (!issolvable(c3)) { | 22 | } else if (!issolvable(c3)) { |
| 23 | printf("Composed cube is not solvable\n"); | 23 | printf("Composed cube is not solvable\n"); |
| 24 | } else { | 24 | } else { |
| 25 | writecube(c3, str); | 25 | writecube(H48, c3, str); |
| 26 | printf("%s\n", str); | 26 | printf("%s\n", str); |
| 27 | } | 27 | } |
| 28 | 28 | ||
