aboutsummaryrefslogtreecommitdiff
path: root/test/031_premove/premove_tests.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-22 11:14:06 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-22 11:14:06 +0200
commitcd866d68cf1bf6ea928cc48a4f2b753c0b1baa6f (patch)
treef50ad0087e90e301240b6c93dcd267cbe49b282d /test/031_premove/premove_tests.c
parent8b72e391c7185e3da0dfbf0ab60068ac37e4d5cc (diff)
downloadnissy-core-cd866d68cf1bf6ea928cc48a4f2b753c0b1baa6f.tar.gz
nissy-core-cd866d68cf1bf6ea928cc48a4f2b753c0b1baa6f.zip
Updated tests and added fixed =A to B32 output
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