aboutsummaryrefslogtreecommitdiff
path: root/test/031_premove/premove_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/031_premove/premove_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/031_premove/premove_tests.c')
-rw-r--r--test/031_premove/premove_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/031_premove/premove_tests.c b/test/031_premove/premove_tests.c
index 07631c1..24773cd 100644
--- a/test/031_premove/premove_tests.c
+++ b/test/031_premove/premove_tests.c
@@ -12,7 +12,7 @@ void run(void) {
12 fgets(movestr, STRLENMAX, stdin); 12 fgets(movestr, STRLENMAX, stdin);
13 move = readmove(movestr[0]) + readmodifier(movestr[1]); 13 move = readmove(movestr[0]) + readmodifier(movestr[1]);
14 fgets(cubestr, STRLENMAX, stdin); 14 fgets(cubestr, STRLENMAX, stdin);
15 cube = readcube("H48", cubestr); 15 cube = readcube(cubestr);
16 16
17 cube = premove(cube, move); 17 cube = premove(cube, move);
18 18
@@ -21,7 +21,7 @@ void run(void) {
21 } else if (!issolvable(cube)) { 21 } else if (!issolvable(cube)) {
22 printf("Moved cube is not solvable\n"); 22 printf("Moved cube is not solvable\n");
23 } else { 23 } else {
24 writecube("H48", cube, NISSY_SIZE_H48, cubestr); 24 writecube(cube, NISSY_SIZE_CUBE, cubestr);
25 printf("%s\n", cubestr); 25 printf("%s\n", cubestr);
26 } 26 }
27} 27}

Generated with cgit - Back to sebastiano.tronto.net