aboutsummaryrefslogtreecommitdiff
path: root/test/031_premove
diff options
context:
space:
mode:
Diffstat (limited to 'test/031_premove')
-rw-r--r--test/031_premove/001_U_solved.in2
-rw-r--r--test/031_premove/001_U_solved.out2
-rw-r--r--test/031_premove/002_U_scrambled.in2
-rw-r--r--test/031_premove/002_U_scrambled.out2
-rw-r--r--test/031_premove/003_F3_scrambled.in2
-rw-r--r--test/031_premove/003_F3_scrambled.out2
-rw-r--r--test/031_premove/premove_tests.c4
7 files changed, 8 insertions, 8 deletions
diff --git a/test/031_premove/001_U_solved.in b/test/031_premove/001_U_solved.in
index 62495cb..3c87da7 100644
--- a/test/031_premove/001_U_solved.in
+++ b/test/031_premove/001_U_solved.in
@@ -1,2 +1,2 @@
1U 1U
2UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 2ABCDEFGH=ABCDEFGHIJKL=A
diff --git a/test/031_premove/001_U_solved.out b/test/031_premove/001_U_solved.out
index 7721ab5..111ba2b 100644
--- a/test/031_premove/001_U_solved.out
+++ b/test/031_premove/001_U_solved.out
@@ -1 +1 @@
UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 EFCDBAGH=FECDABGHIJKL=A
diff --git a/test/031_premove/002_U_scrambled.in b/test/031_premove/002_U_scrambled.in
index 423c408..252b09f 100644
--- a/test/031_premove/002_U_scrambled.in
+++ b/test/031_premove/002_U_scrambled.in
@@ -1,4 +1,4 @@
1U 1U
2UL0 BL0 BR1 DL0 FR0 DF0 DB1 DR1 UB0 FL0 UF0 UR1 DFL0 UFR1 DBR1 UBR2 DBL2 DFR0 UFL1 UBL2 2CILVXGMR=FKbGIDSXBJAU=A
3 3
4// Scramble: U R D' L D' F L2 D L F B D2 B' L2 F U2 L2 D2 R2 L2 B' 4// Scramble: U R D' L D' F L2 D L F B D2 B' L2 F U2 L2 D2 R2 L2 B'
diff --git a/test/031_premove/002_U_scrambled.out b/test/031_premove/002_U_scrambled.out
index b25b400..5d7e0eb 100644
--- a/test/031_premove/002_U_scrambled.out
+++ b/test/031_premove/002_U_scrambled.out
@@ -1 +1 @@
UB0 BL0 BR1 DL0 FR0 DF0 DB1 DR1 UR0 FL0 UL0 UF1 DFL0 UFL1 DBR1 UFR2 DBL2 DFR0 UBL1 UBR2 CMLQXGJV=BKbGIDSXEJFQ=A
diff --git a/test/031_premove/003_F3_scrambled.in b/test/031_premove/003_F3_scrambled.in
index d222a18..4d0547a 100644
--- a/test/031_premove/003_F3_scrambled.in
+++ b/test/031_premove/003_F3_scrambled.in
@@ -1,4 +1,4 @@
1F' 1F'
2UL0 BL0 BR1 DL0 FR0 DF0 DB1 DR1 UB0 FL0 UF0 UR1 DFL0 UFR1 DBR1 UBR2 DBL2 DFR0 UFL1 UBL2 2CILVXGMR=FKbGIDSXBJAU=A
3 3
4// Scramble: U R D' L D' F L2 D L F B D2 B' L2 F U2 L2 D2 R2 L2 B' 4// Scramble: U R D' L D' F L2 D L F B D2 B' L2 F U2 L2 D2 R2 L2 B'
diff --git a/test/031_premove/003_F3_scrambled.out b/test/031_premove/003_F3_scrambled.out
index 9d8d663..96e6485 100644
--- a/test/031_premove/003_F3_scrambled.out
+++ b/test/031_premove/003_F3_scrambled.out
@@ -1 +1 @@
UL0 BL0 BR1 DL0 UF1 FR1 DB1 DR1 UB0 DF1 FL1 UR1 DFR1 UFL2 DBR1 UBR2 DBL2 UFR2 DFL0 UBL2 OULVXQCR=FKbGQYSXBTZU=A
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