diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-04-13 15:48:19 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-04-13 15:48:19 +0200 |
| commit | 3ab2f98170908277f70191846e84e5dde185a056 (patch) | |
| tree | 4c243866a0c004bc061e56975b48367d0ac276b6 /test/050_compose | |
| parent | a18d4b0ba97b301193597a963a77a40ef7c2254b (diff) | |
| download | cubecore-3ab2f98170908277f70191846e84e5dde185a056.tar.gz cubecore-3ab2f98170908277f70191846e84e5dde185a056.zip | |
removed fast
Diffstat (limited to 'test/050_compose')
| -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"); |
