aboutsummaryrefslogtreecommitdiff
path: root/test/050_compose
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-04-13 15:48:19 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-04-13 15:48:19 +0200
commit3ab2f98170908277f70191846e84e5dde185a056 (patch)
tree4c243866a0c004bc061e56975b48367d0ac276b6 /test/050_compose
parenta18d4b0ba97b301193597a963a77a40ef7c2254b (diff)
downloadcubecore-3ab2f98170908277f70191846e84e5dde185a056.tar.gz
cubecore-3ab2f98170908277f70191846e84e5dde185a056.zip
removed fast
Diffstat (limited to 'test/050_compose')
-rw-r--r--test/050_compose/compose_tests.c4
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
3cube_t compose(cube_t, cube_t);
4
5int main(void) { 3int 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");

Generated with cgit - Back to sebastiano.tronto.net