diff options
Diffstat (limited to 'test/050_compose/compose_tests.c')
| -rw-r--r-- | test/050_compose/compose_tests.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/050_compose/compose_tests.c b/test/050_compose/compose_tests.c index c0bbbef..3bf6c34 100644 --- a/test/050_compose/compose_tests.c +++ b/test/050_compose/compose_tests.c | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | #include "../test.h" | 1 | #include "../test.h" |
| 2 | 2 | ||
| 3 | cube_t compose(cube_t, cube_t); | ||
| 4 | |||
| 5 | int main(void) { | 3 | int main(void) { |
| 6 | char str[STRLENMAX]; | 4 | char str[STRLENMAX]; |
| 7 | cube_t c1, c2, c3; | 5 | cube_t c1, c2, c3; |
| @@ -11,7 +9,7 @@ int main(void) { | |||
| 11 | fgets(str, STRLENMAX, stdin); | 9 | fgets(str, STRLENMAX, stdin); |
| 12 | c2 = readcube("H48", str); | 10 | c2 = readcube("H48", str); |
| 13 | 11 | ||
| 14 | c3 = compose(c1, c2); | 12 | c3 = cube_compose(c1, c2); |
| 15 | 13 | ||
| 16 | if (cube_error(c3)) { | 14 | if (cube_error(c3)) { |
| 17 | printf("Error composing cubes\n"); | 15 | printf("Error composing cubes\n"); |
