From cd866d68cf1bf6ea928cc48a4f2b753c0b1baa6f Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 22 Apr 2025 11:14:06 +0200 Subject: Updated tests and added fixed =A to B32 output --- test/077_copy_edges/00_solved_scrambled.in | 4 ++-- test/077_copy_edges/00_solved_scrambled.out | 2 +- test/077_copy_edges/copy_edges_tests.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test/077_copy_edges') diff --git a/test/077_copy_edges/00_solved_scrambled.in b/test/077_copy_edges/00_solved_scrambled.in index 2ff0e6a..38c1566 100644 --- a/test/077_copy_edges/00_solved_scrambled.in +++ b/test/077_copy_edges/00_solved_scrambled.in @@ -1,2 +1,2 @@ -UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 -UL0 BL0 BR1 DL0 FR0 DF0 DB1 DR1 UB0 FL0 UF0 UR1 DFL0 UFR1 DBR1 UBR2 DBL2 DFR0 UFL1 UBL2 +ABCDEFGH=ABCDEFGHIJKL=A +CILVXGMR=FKbGIDSXBJAU=A diff --git a/test/077_copy_edges/00_solved_scrambled.out b/test/077_copy_edges/00_solved_scrambled.out index 3af84f4..0d38603 100644 --- a/test/077_copy_edges/00_solved_scrambled.out +++ b/test/077_copy_edges/00_solved_scrambled.out @@ -1 +1 @@ -UL0 BL0 BR1 DL0 FR0 DF0 DB1 DR1 UB0 FL0 UF0 UR1 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 +ABCDEFGH=FKbGIDSXBJAU=A diff --git a/test/077_copy_edges/copy_edges_tests.c b/test/077_copy_edges/copy_edges_tests.c index 48c5c53..36e32af 100644 --- a/test/077_copy_edges/copy_edges_tests.c +++ b/test/077_copy_edges/copy_edges_tests.c @@ -7,10 +7,10 @@ void run(void) { cube_t c1, c2; fgets(str, STRLENMAX, stdin); - c1 = readcube("H48", str); + c1 = readcube(str); fgets(str, STRLENMAX, stdin); - c2 = readcube("H48", str); + c2 = readcube(str); copy_edges(&c1, c2); @@ -19,7 +19,7 @@ void run(void) { } else if (!isconsistent(c1)) { printf("Setting EO resulted in inconsistent cube\n"); } else { - writecube("H48", c1, NISSY_SIZE_H48, str); + writecube(c1, NISSY_SIZE_CUBE, str); printf("%s\n", str); } } -- cgit v1.3