diff options
Diffstat (limited to 'test/050_compose/compose_tests.c')
| -rw-r--r-- | test/050_compose/compose_tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/050_compose/compose_tests.c b/test/050_compose/compose_tests.c index c778838..c61775f 100644 --- a/test/050_compose/compose_tests.c +++ b/test/050_compose/compose_tests.c | |||
| @@ -7,9 +7,9 @@ void run(void) { | |||
| 7 | cube_t c1, c2, c3; | 7 | cube_t c1, c2, c3; |
| 8 | 8 | ||
| 9 | fgets(str, STRLENMAX, stdin); | 9 | fgets(str, STRLENMAX, stdin); |
| 10 | c1 = readcube("H48", str); | 10 | c1 = readcube(str); |
| 11 | fgets(str, STRLENMAX, stdin); | 11 | fgets(str, STRLENMAX, stdin); |
| 12 | c2 = readcube("H48", str); | 12 | c2 = readcube(str); |
| 13 | 13 | ||
| 14 | c3 = compose(c1, c2); | 14 | c3 = compose(c1, c2); |
| 15 | 15 | ||
| @@ -18,7 +18,7 @@ void run(void) { | |||
| 18 | } else if (!issolvable(c3)) { | 18 | } else if (!issolvable(c3)) { |
| 19 | printf("Composed cube is not solvable\n"); | 19 | printf("Composed cube is not solvable\n"); |
| 20 | } else { | 20 | } else { |
| 21 | writecube("H48", c3, NISSY_SIZE_H48, str); | 21 | writecube(c3, NISSY_SIZE_CUBE, str); |
| 22 | printf("%s\n", str); | 22 | printf("%s\n", str); |
| 23 | } | 23 | } |
| 24 | } | 24 | } |
