aboutsummaryrefslogtreecommitdiff
path: root/test/040_inverse_cube
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/040_inverse_cube
parent71e104d84b3538e15f27df79b151e6b49cbad1eb (diff)
parente391c4624055138f075c0e5772ccaf8ede094b5a (diff)
downloadnissy-core-ac652bb6fb45099008e862e3ced650299dc3ebb7.tar.gz
nissy-core-ac652bb6fb45099008e862e3ced650299dc3ebb7.zip
Merge branch 'master' into extend_moves
Diffstat (limited to 'test/040_inverse_cube')
-rw-r--r--test/040_inverse_cube/00_solved.in2
-rw-r--r--test/040_inverse_cube/00_solved.out2
-rw-r--r--test/040_inverse_cube/01_scrambled.in2
-rw-r--r--test/040_inverse_cube/01_scrambled.out2
-rw-r--r--test/040_inverse_cube/inverse_tests.c4
5 files changed, 6 insertions, 6 deletions
diff --git a/test/040_inverse_cube/00_solved.in b/test/040_inverse_cube/00_solved.in
index dff224d..5aa6ba7 100644
--- a/test/040_inverse_cube/00_solved.in
+++ b/test/040_inverse_cube/00_solved.in
@@ -1 +1 @@
UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 ABCDEFGH=ABCDEFGHIJKL=A
diff --git a/test/040_inverse_cube/00_solved.out b/test/040_inverse_cube/00_solved.out
index dff224d..5aa6ba7 100644
--- a/test/040_inverse_cube/00_solved.out
+++ b/test/040_inverse_cube/00_solved.out
@@ -1 +1 @@
UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 ABCDEFGH=ABCDEFGHIJKL=A
diff --git a/test/040_inverse_cube/01_scrambled.in b/test/040_inverse_cube/01_scrambled.in
index 263213b..37bad2b 100644
--- a/test/040_inverse_cube/01_scrambled.in
+++ b/test/040_inverse_cube/01_scrambled.in
@@ -1 +1 @@
DR0 DB0 BL0 DF1 UB0 UR1 FR1 UF0 FL1 DL0 BR1 UL1 DBL2 DFL0 UBR1 DFR2 UFR0 DBR1 UBL0 UFL0 XCNWALBE=HCKTBUYAZGbV=A
diff --git a/test/040_inverse_cube/01_scrambled.out b/test/040_inverse_cube/01_scrambled.out
index 25089c6..b746ff5 100644
--- a/test/040_inverse_cube/01_scrambled.out
+++ b/test/040_inverse_cube/01_scrambled.out
@@ -1 +1 @@
DR0 UR0 UB0 DF1 UL1 BR1 FL0 UF0 DL1 FR1 DB0 BL1 UFL0 DFR0 UBL0 UBR2 DBL0 DFL2 DBR1 UFR1 EGBVHSLI=HEBTVbJAWYCa=A
diff --git a/test/040_inverse_cube/inverse_tests.c b/test/040_inverse_cube/inverse_tests.c
index c1045ab..9e8925a 100644
--- a/test/040_inverse_cube/inverse_tests.c
+++ b/test/040_inverse_cube/inverse_tests.c
@@ -7,7 +7,7 @@ void run(void) {
7 cube_t cube, inv; 7 cube_t cube, inv;
8 8
9 fgets(str, STRLENMAX, stdin); 9 fgets(str, STRLENMAX, stdin);
10 cube = readcube("H48", str); 10 cube = readcube(str);
11 inv = inverse(cube); 11 inv = inverse(cube);
12 12
13 if (iserror(inv)) { 13 if (iserror(inv)) {
@@ -15,7 +15,7 @@ void run(void) {
15 } else if (!issolvable(inv)) { 15 } else if (!issolvable(inv)) {
16 printf("Inverted cube is not solvable\n"); 16 printf("Inverted cube is not solvable\n");
17 } else { 17 } else {
18 writecube("H48", inv, NISSY_SIZE_H48, str); 18 writecube(inv, NISSY_SIZE_CUBE, str);
19 printf("%s\n", str); 19 printf("%s\n", str);
20 } 20 }
21} 21}

Generated with cgit - Back to sebastiano.tronto.net