diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 11:14:06 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 11:14:06 +0200 |
| commit | cd866d68cf1bf6ea928cc48a4f2b753c0b1baa6f (patch) | |
| tree | f50ad0087e90e301240b6c93dcd267cbe49b282d /test/075_set_eo | |
| parent | 8b72e391c7185e3da0dfbf0ab60068ac37e4d5cc (diff) | |
| download | nissy-core-cd866d68cf1bf6ea928cc48a4f2b753c0b1baa6f.tar.gz nissy-core-cd866d68cf1bf6ea928cc48a4f2b753c0b1baa6f.zip | |
Updated tests and added fixed =A to B32 output
Diffstat (limited to 'test/075_set_eo')
| -rw-r--r-- | test/075_set_eo/00_solved_0.in | 2 | ||||
| -rw-r--r-- | test/075_set_eo/00_solved_0.out | 2 | ||||
| -rw-r--r-- | test/075_set_eo/01_solved_1.in | 2 | ||||
| -rw-r--r-- | test/075_set_eo/01_solved_1.out | 2 | ||||
| -rw-r--r-- | test/075_set_eo/02_solved_other.in | 2 | ||||
| -rw-r--r-- | test/075_set_eo/02_solved_other.out | 2 | ||||
| -rw-r--r-- | test/075_set_eo/03_solved_firstlast.in | 2 | ||||
| -rw-r--r-- | test/075_set_eo/03_solved_firstlast.out | 2 | ||||
| -rw-r--r-- | test/075_set_eo/10_scrambled_0.in | 2 | ||||
| -rw-r--r-- | test/075_set_eo/10_scrambled_0.out | 2 | ||||
| -rw-r--r-- | test/075_set_eo/11_scrambled_1.in | 2 | ||||
| -rw-r--r-- | test/075_set_eo/11_scrambled_1.out | 2 | ||||
| -rw-r--r-- | test/075_set_eo/set_eo_tests.c | 4 |
13 files changed, 14 insertions, 14 deletions
diff --git a/test/075_set_eo/00_solved_0.in b/test/075_set_eo/00_solved_0.in index 55bb6bf..49bd044 100644 --- a/test/075_set_eo/00_solved_0.in +++ b/test/075_set_eo/00_solved_0.in | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 | 1 | ABCDEFGH=ABCDEFGHIJKL=A |
| 2 | 0 | 2 | 0 |
diff --git a/test/075_set_eo/00_solved_0.out b/test/075_set_eo/00_solved_0.out index dff224d..5aa6ba7 100644 --- a/test/075_set_eo/00_solved_0.out +++ b/test/075_set_eo/00_solved_0.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/075_set_eo/01_solved_1.in b/test/075_set_eo/01_solved_1.in index edd864e..f545bfe 100644 --- a/test/075_set_eo/01_solved_1.in +++ b/test/075_set_eo/01_solved_1.in | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 | 1 | ABCDEFGH=ABCDEFGHIJKL=A |
| 2 | 2047 | 2 | 2047 |
diff --git a/test/075_set_eo/01_solved_1.out b/test/075_set_eo/01_solved_1.out index ec7594a..79d5114 100644 --- a/test/075_set_eo/01_solved_1.out +++ b/test/075_set_eo/01_solved_1.out | |||
| @@ -1 +1 @@ | |||
| UF1 UB1 DB1 DF1 UR1 UL1 DL1 DR1 FR1 FL1 BL1 BR1 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 | ABCDEFGH=QRSTUVWXYZab=A | ||
diff --git a/test/075_set_eo/02_solved_other.in b/test/075_set_eo/02_solved_other.in index 17e9b02..7b2e5b7 100644 --- a/test/075_set_eo/02_solved_other.in +++ b/test/075_set_eo/02_solved_other.in | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 | 1 | ABCDEFGH=ABCDEFGHIJKL=A |
| 2 | 20 | 2 | 20 |
diff --git a/test/075_set_eo/02_solved_other.out b/test/075_set_eo/02_solved_other.out index df73ef8..a193243 100644 --- a/test/075_set_eo/02_solved_other.out +++ b/test/075_set_eo/02_solved_other.out | |||
| @@ -1 +1 @@ | |||
| UF0 UB0 DB0 DF1 UR0 UL1 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 | ABCDEFGH=ABCTEVGHIJKL=A | ||
diff --git a/test/075_set_eo/03_solved_firstlast.in b/test/075_set_eo/03_solved_firstlast.in index a16a192..70bd867 100644 --- a/test/075_set_eo/03_solved_firstlast.in +++ b/test/075_set_eo/03_solved_firstlast.in | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 | 1 | ABCDEFGH=ABCDEFGHIJKL=A |
| 2 | 1024 | 2 | 1024 |
diff --git a/test/075_set_eo/03_solved_firstlast.out b/test/075_set_eo/03_solved_firstlast.out index 8679be3..4256cff 100644 --- a/test/075_set_eo/03_solved_firstlast.out +++ b/test/075_set_eo/03_solved_firstlast.out | |||
| @@ -1 +1 @@ | |||
| UF1 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR1 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 | ABCDEFGH=QBCDEFGHIJKb=A | ||
diff --git a/test/075_set_eo/10_scrambled_0.in b/test/075_set_eo/10_scrambled_0.in index 55dccca..8f4a7d7 100644 --- a/test/075_set_eo/10_scrambled_0.in +++ b/test/075_set_eo/10_scrambled_0.in | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | UL0 BL0 BR1 DL0 FR0 DF0 DB1 DR1 UB0 FL0 UF0 UR1 DFL0 UFR1 DBR1 UBR2 DBL2 DFR0 UFL1 UBL2 | 1 | CILVXGMR=FKbGIDSXBJAU=A |
| 2 | 0 | 2 | 0 |
| 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/075_set_eo/10_scrambled_0.out b/test/075_set_eo/10_scrambled_0.out index 0eabd6e..8aae87a 100644 --- a/test/075_set_eo/10_scrambled_0.out +++ b/test/075_set_eo/10_scrambled_0.out | |||
| @@ -1 +1 @@ | |||
| UL0 BL0 BR0 DL0 FR0 DF0 DB0 DR0 UB0 FL0 UF0 UR0 DFL0 UFR1 DBR1 UBR2 DBL2 DFR0 UFL1 UBL2 | CILVXGMR=FKLGIDCHBJAE=A | ||
diff --git a/test/075_set_eo/11_scrambled_1.in b/test/075_set_eo/11_scrambled_1.in index 0037a04..4eac4f8 100644 --- a/test/075_set_eo/11_scrambled_1.in +++ b/test/075_set_eo/11_scrambled_1.in | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | UL0 BL0 BR1 DL0 FR0 DF0 DB1 DR1 UB0 FL0 UF0 UR1 DFL0 UFR1 DBR1 UBR2 DBL2 DFR0 UFL1 UBL2 | 1 | CILVXGMR=FKbGIDSXBJAU=A |
| 2 | 2047 | 2 | 2047 |
| 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/075_set_eo/11_scrambled_1.out b/test/075_set_eo/11_scrambled_1.out index 843df0d..8786173 100644 --- a/test/075_set_eo/11_scrambled_1.out +++ b/test/075_set_eo/11_scrambled_1.out | |||
| @@ -1 +1 @@ | |||
| UL1 BL1 BR1 DL1 FR1 DF1 DB1 DR1 UB1 FL1 UF1 UR1 DFL0 UFR1 DBR1 UBR2 DBL2 DFR0 UFL1 UBL2 | CILVXGMR=VabWYTSXRZQU=A | ||
diff --git a/test/075_set_eo/set_eo_tests.c b/test/075_set_eo/set_eo_tests.c index 0c67e87..2e05e9a 100644 --- a/test/075_set_eo/set_eo_tests.c +++ b/test/075_set_eo/set_eo_tests.c | |||
| @@ -11,7 +11,7 @@ void run(void) { | |||
| 11 | int64_t eo; | 11 | int64_t eo; |
| 12 | 12 | ||
| 13 | fgets(str, STRLENMAX, stdin); | 13 | fgets(str, STRLENMAX, stdin); |
| 14 | cube = readcube("H48", str); | 14 | cube = readcube(str); |
| 15 | fgets(str, STRLENMAX, stdin); | 15 | fgets(str, STRLENMAX, stdin); |
| 16 | eo = atoi(str); | 16 | eo = atoi(str); |
| 17 | 17 | ||
| @@ -30,7 +30,7 @@ void run(void) { | |||
| 30 | fprintf(stderr, "\n"); | 30 | fprintf(stderr, "\n"); |
| 31 | printf("Setting EO resulted in inconsistent cube\n"); | 31 | printf("Setting EO resulted in inconsistent cube\n"); |
| 32 | } else { | 32 | } else { |
| 33 | writecube("H48", cube, NISSY_SIZE_H48, str); | 33 | writecube(cube, NISSY_SIZE_CUBE, str); |
| 34 | printf("%s\n", str); | 34 | printf("%s\n", str); |
| 35 | } | 35 | } |
| 36 | } | 36 | } |
