aboutsummaryrefslogtreecommitdiff
path: root/test/050_compose/compose_tests.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-22 14:17:03 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-22 14:17:03 +0200
commitac652bb6fb45099008e862e3ced650299dc3ebb7 (patch)
tree12fb1c902c271fbeac41c4ee416cf1cd76b16fd7 /test/050_compose/compose_tests.c
parent71e104d84b3538e15f27df79b151e6b49cbad1eb (diff)
parente391c4624055138f075c0e5772ccaf8ede094b5a (diff)
downloadnissy-core-ac652bb6fb45099008e862e3ced650299dc3ebb7.tar.gz
nissy-core-ac652bb6fb45099008e862e3ced650299dc3ebb7.zip
Merge branch 'master' into extend_moves
Diffstat (limited to 'test/050_compose/compose_tests.c')
-rw-r--r--test/050_compose/compose_tests.c6
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}

Generated with cgit - Back to sebastiano.tronto.net