From 7faca28009c5efb0ba2b897b34dbdcac47a1a6f3 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 25 Apr 2025 10:09:22 +0200 Subject: NISS --- test/030_applymoves/000_nomove_solved.in | 2 ++ test/030_applymoves/000_nomove_solved.out | 1 + test/030_applymoves/001_nomove_scrambled.in | 2 ++ test/030_applymoves/001_nomove_scrambled.out | 1 + test/030_applymoves/010_U_solved.in | 2 ++ test/030_applymoves/010_U_solved.out | 1 + test/030_applymoves/011_U_scrambled.in | 2 ++ test/030_applymoves/011_U_scrambled.out | 1 + test/030_applymoves/012_U_inverse.in | 2 ++ test/030_applymoves/012_U_inverse.out | 1 + test/030_applymoves/020_U2_solved.in | 2 ++ test/030_applymoves/020_U2_solved.out | 1 + test/030_applymoves/021_U2_scrambled.in | 2 ++ test/030_applymoves/021_U2_scrambled.out | 1 + test/030_applymoves/022_U2_inverse.in | 2 ++ test/030_applymoves/022_U2_inverse.out | 1 + test/030_applymoves/030_U3_solved.in | 2 ++ test/030_applymoves/030_U3_solved.out | 1 + test/030_applymoves/031_U3_inverse.in | 2 ++ test/030_applymoves/031_U3_inverse.out | 1 + test/030_applymoves/032_U3_scrambled.in | 2 ++ test/030_applymoves/032_U3_scrambled.out | 1 + test/030_applymoves/033_U3_with_prime.in | 2 ++ test/030_applymoves/033_U3_with_prime.out | 1 + test/030_applymoves/040_D_solved.in | 2 ++ test/030_applymoves/040_D_solved.out | 1 + test/030_applymoves/050_D2_solved.in | 2 ++ test/030_applymoves/050_D2_solved.out | 1 + test/030_applymoves/060_D3_solved.in | 2 ++ test/030_applymoves/060_D3_solved.out | 1 + test/030_applymoves/070_R_solved.in | 2 ++ test/030_applymoves/070_R_solved.out | 1 + test/030_applymoves/071_R_scrambled.in | 2 ++ test/030_applymoves/071_R_scrambled.out | 1 + test/030_applymoves/080_R2_solved.in | 2 ++ test/030_applymoves/080_R2_solved.out | 1 + test/030_applymoves/090_R3_solved.in | 2 ++ test/030_applymoves/090_R3_solved.out | 1 + test/030_applymoves/100_L_solved.in | 2 ++ test/030_applymoves/100_L_solved.out | 1 + test/030_applymoves/110_L2_solved.in | 2 ++ test/030_applymoves/110_L2_solved.out | 1 + test/030_applymoves/120_L3_solved.in | 2 ++ test/030_applymoves/120_L3_solved.out | 1 + test/030_applymoves/130_F_solved.in | 2 ++ test/030_applymoves/130_F_solved.out | 1 + test/030_applymoves/132_F_scrambled.in | 2 ++ test/030_applymoves/132_F_scrambled.out | 1 + test/030_applymoves/133_F_scrambled_2.in | 2 ++ test/030_applymoves/133_F_scrambled_2.out | 1 + test/030_applymoves/140_F2_solved.in | 2 ++ test/030_applymoves/140_F2_solved.out | 1 + test/030_applymoves/150_F3_solved.in | 2 ++ test/030_applymoves/150_F3_solved.out | 1 + test/030_applymoves/160_B_solved.in | 2 ++ test/030_applymoves/160_B_solved.out | 1 + test/030_applymoves/170_B2_solved.in | 2 ++ test/030_applymoves/170_B2_solved.out | 1 + test/030_applymoves/180_B3_solved.in | 2 ++ test/030_applymoves/180_B3_solved.out | 1 + test/030_applymoves/200_scramble_solved.in | 2 ++ test/030_applymoves/200_scramble_solved.out | 1 + test/030_applymoves/201_solution_scrambled.in | 2 ++ test/030_applymoves/201_solution_scrambled.out | 1 + test/030_applymoves/300_multimove_solved.in | 2 ++ test/030_applymoves/300_multimove_solved.out | 1 + test/030_applymoves/301_multimove_scrambled.in | 2 ++ test/030_applymoves/301_multimove_scrambled.out | 1 + test/030_applymoves/500_Uw_solved.in | 2 ++ test/030_applymoves/500_Uw_solved.out | 1 + test/030_applymoves/501_Uw2_solved.in | 2 ++ test/030_applymoves/501_Uw2_solved.out | 1 + test/030_applymoves/502_Uw3_solved.in | 2 ++ test/030_applymoves/502_Uw3_solved.out | 1 + test/030_applymoves/503_Dw_solved.in | 2 ++ test/030_applymoves/503_Dw_solved.out | 1 + test/030_applymoves/504_Dw2_solved.in | 2 ++ test/030_applymoves/504_Dw2_solved.out | 1 + test/030_applymoves/505_Dw3_solved.in | 2 ++ test/030_applymoves/505_Dw3_solved.out | 1 + test/030_applymoves/506_Rw_solved.in | 2 ++ test/030_applymoves/506_Rw_solved.out | 1 + test/030_applymoves/507_Rw2_solved.in | 2 ++ test/030_applymoves/507_Rw2_solved.out | 1 + test/030_applymoves/508_Rw3_solved.in | 2 ++ test/030_applymoves/508_Rw3_solved.out | 1 + test/030_applymoves/509_Lw_solved.in | 2 ++ test/030_applymoves/509_Lw_solved.out | 1 + test/030_applymoves/510_Lw2_solved.in | 2 ++ test/030_applymoves/510_Lw2_solved.out | 1 + test/030_applymoves/511_Lw3_solved.in | 2 ++ test/030_applymoves/511_Lw3_solved.out | 1 + test/030_applymoves/512_Fw_solved.in | 2 ++ test/030_applymoves/512_Fw_solved.out | 1 + test/030_applymoves/513_Fw2_solved.in | 2 ++ test/030_applymoves/513_Fw2_solved.out | 1 + test/030_applymoves/514_Fw3_solved.in | 2 ++ test/030_applymoves/514_Fw3_solved.out | 1 + test/030_applymoves/515_Bw_solved.in | 2 ++ test/030_applymoves/515_Bw_solved.out | 1 + test/030_applymoves/516_Bw2_solved.in | 2 ++ test/030_applymoves/516_Bw2_solved.out | 1 + test/030_applymoves/517_Bw3_solved.in | 2 ++ test/030_applymoves/517_Bw3_solved.out | 1 + test/030_applymoves/518_M_solved.in | 2 ++ test/030_applymoves/518_M_solved.out | 1 + test/030_applymoves/519_M2_solved.in | 2 ++ test/030_applymoves/519_M2_solved.out | 1 + test/030_applymoves/520_M3_solved.in | 2 ++ test/030_applymoves/520_M3_solved.out | 1 + test/030_applymoves/521_S_solved.in | 2 ++ test/030_applymoves/521_S_solved.out | 1 + test/030_applymoves/522_S2_solved.in | 2 ++ test/030_applymoves/522_S2_solved.out | 1 + test/030_applymoves/523_S3_solved.in | 2 ++ test/030_applymoves/523_S3_solved.out | 1 + test/030_applymoves/524_E_solved.in | 2 ++ test/030_applymoves/524_E_solved.out | 1 + test/030_applymoves/525_E2_solved.in | 2 ++ test/030_applymoves/525_E2_solved.out | 1 + test/030_applymoves/526_E3_solved.in | 2 ++ test/030_applymoves/526_E3_solved.out | 1 + test/030_applymoves/527_x_solved.in | 2 ++ test/030_applymoves/527_x_solved.out | 1 + test/030_applymoves/528_x2_solved.in | 2 ++ test/030_applymoves/528_x2_solved.out | 1 + test/030_applymoves/529_x3_solved.in | 2 ++ test/030_applymoves/529_x3_solved.out | 1 + test/030_applymoves/530_y_solved.in | 2 ++ test/030_applymoves/530_y_solved.out | 1 + test/030_applymoves/531_y2_solved.in | 2 ++ test/030_applymoves/531_y2_solved.out | 1 + test/030_applymoves/532_y3_solved.in | 2 ++ test/030_applymoves/532_y3_solved.out | 1 + test/030_applymoves/533_z_solved.in | 2 ++ test/030_applymoves/533_z_solved.out | 1 + test/030_applymoves/534_z2_solved.in | 2 ++ test/030_applymoves/534_z2_solved.out | 1 + test/030_applymoves/535_z3_solved.in | 2 ++ test/030_applymoves/535_z3_solved.out | 1 + test/030_applymoves/550_scrambled_random.in | 2 ++ test/030_applymoves/550_scrambled_random.out | 1 + test/030_applymoves/559_solved_xzy.in | 2 ++ test/030_applymoves/559_solved_xzy.out | 1 + test/030_applymoves/560_solved_RwS.in | 2 ++ test/030_applymoves/560_solved_RwS.out | 1 + test/030_applymoves/561_solved_RwSE3.in | 2 ++ test/030_applymoves/561_solved_RwSE3.out | 1 + test/030_applymoves/569_returns_to_noreorient.in | 2 ++ test/030_applymoves/569_returns_to_noreorient.out | 1 + test/030_applymoves/600_niss_solved.in | 2 ++ test/030_applymoves/600_niss_solved.out | 1 + test/030_applymoves/601_niss_solved_widenormal.in | 2 ++ test/030_applymoves/601_niss_solved_widenormal.out | 1 + test/030_applymoves/602_scrambled_niss_1x3.in | 2 ++ test/030_applymoves/602_scrambled_niss_1x3.out | 1 + test/030_applymoves/603_scrambled_long_niss.in | 3 +++ test/030_applymoves/603_scrambled_long_niss.out | 1 + .../604_scrambled_niss_extendedmoves.in | 3 +++ .../604_scrambled_niss_extendedmoves.out | 1 + test/030_applymoves/applymoves_tests.c | 23 +++++++++++++++++++++ test/030_move/000_nomove_solved.in | 2 -- test/030_move/000_nomove_solved.out | 1 - test/030_move/001_nomove_scrambled.in | 2 -- test/030_move/001_nomove_scrambled.out | 1 - test/030_move/010_U_solved.in | 2 -- test/030_move/010_U_solved.out | 1 - test/030_move/011_U_scrambled.in | 2 -- test/030_move/011_U_scrambled.out | 1 - test/030_move/012_U_inverse.in | 2 -- test/030_move/012_U_inverse.out | 1 - test/030_move/020_U2_solved.in | 2 -- test/030_move/020_U2_solved.out | 1 - test/030_move/021_U2_scrambled.in | 2 -- test/030_move/021_U2_scrambled.out | 1 - test/030_move/022_U2_inverse.in | 2 -- test/030_move/022_U2_inverse.out | 1 - test/030_move/030_U3_solved.in | 2 -- test/030_move/030_U3_solved.out | 1 - test/030_move/031_U3_inverse.in | 2 -- test/030_move/031_U3_inverse.out | 1 - test/030_move/032_U3_scrambled.in | 2 -- test/030_move/032_U3_scrambled.out | 1 - test/030_move/033_U3_with_prime.in | 2 -- test/030_move/033_U3_with_prime.out | 1 - test/030_move/040_D_solved.in | 2 -- test/030_move/040_D_solved.out | 1 - test/030_move/050_D2_solved.in | 2 -- test/030_move/050_D2_solved.out | 1 - test/030_move/060_D3_solved.in | 2 -- test/030_move/060_D3_solved.out | 1 - test/030_move/070_R_solved.in | 2 -- test/030_move/070_R_solved.out | 1 - test/030_move/071_R_scrambled.in | 2 -- test/030_move/071_R_scrambled.out | 1 - test/030_move/080_R2_solved.in | 2 -- test/030_move/080_R2_solved.out | 1 - test/030_move/090_R3_solved.in | 2 -- test/030_move/090_R3_solved.out | 1 - test/030_move/100_L_solved.in | 2 -- test/030_move/100_L_solved.out | 1 - test/030_move/110_L2_solved.in | 2 -- test/030_move/110_L2_solved.out | 1 - test/030_move/120_L3_solved.in | 2 -- test/030_move/120_L3_solved.out | 1 - test/030_move/130_F_solved.in | 2 -- test/030_move/130_F_solved.out | 1 - test/030_move/132_F_scrambled.in | 2 -- test/030_move/132_F_scrambled.out | 1 - test/030_move/133_F_scrambled_2.in | 2 -- test/030_move/133_F_scrambled_2.out | 1 - test/030_move/140_F2_solved.in | 2 -- test/030_move/140_F2_solved.out | 1 - test/030_move/150_F3_solved.in | 2 -- test/030_move/150_F3_solved.out | 1 - test/030_move/160_B_solved.in | 2 -- test/030_move/160_B_solved.out | 1 - test/030_move/170_B2_solved.in | 2 -- test/030_move/170_B2_solved.out | 1 - test/030_move/180_B3_solved.in | 2 -- test/030_move/180_B3_solved.out | 1 - test/030_move/200_scramble_solved.in | 2 -- test/030_move/200_scramble_solved.out | 1 - test/030_move/201_solution_scrambled.in | 2 -- test/030_move/201_solution_scrambled.out | 1 - test/030_move/300_multimove_solved.in | 2 -- test/030_move/300_multimove_solved.out | 1 - test/030_move/301_multimove_scrambled.in | 2 -- test/030_move/301_multimove_scrambled.out | 1 - test/030_move/500_Uw_solved.in | 2 -- test/030_move/500_Uw_solved.out | 1 - test/030_move/501_Uw2_solved.in | 2 -- test/030_move/501_Uw2_solved.out | 1 - test/030_move/502_Uw3_solved.in | 2 -- test/030_move/502_Uw3_solved.out | 1 - test/030_move/503_Dw_solved.in | 2 -- test/030_move/503_Dw_solved.out | 1 - test/030_move/504_Dw2_solved.in | 2 -- test/030_move/504_Dw2_solved.out | 1 - test/030_move/505_Dw3_solved.in | 2 -- test/030_move/505_Dw3_solved.out | 1 - test/030_move/506_Rw_solved.in | 2 -- test/030_move/506_Rw_solved.out | 1 - test/030_move/507_Rw2_solved.in | 2 -- test/030_move/507_Rw2_solved.out | 1 - test/030_move/508_Rw3_solved.in | 2 -- test/030_move/508_Rw3_solved.out | 1 - test/030_move/509_Lw_solved.in | 2 -- test/030_move/509_Lw_solved.out | 1 - test/030_move/510_Lw2_solved.in | 2 -- test/030_move/510_Lw2_solved.out | 1 - test/030_move/511_Lw3_solved.in | 2 -- test/030_move/511_Lw3_solved.out | 1 - test/030_move/512_Fw_solved.in | 2 -- test/030_move/512_Fw_solved.out | 1 - test/030_move/513_Fw2_solved.in | 2 -- test/030_move/513_Fw2_solved.out | 1 - test/030_move/514_Fw3_solved.in | 2 -- test/030_move/514_Fw3_solved.out | 1 - test/030_move/515_Bw_solved.in | 2 -- test/030_move/515_Bw_solved.out | 1 - test/030_move/516_Bw2_solved.in | 2 -- test/030_move/516_Bw2_solved.out | 1 - test/030_move/517_Bw3_solved.in | 2 -- test/030_move/517_Bw3_solved.out | 1 - test/030_move/518_M_solved.in | 2 -- test/030_move/518_M_solved.out | 1 - test/030_move/519_M2_solved.in | 2 -- test/030_move/519_M2_solved.out | 1 - test/030_move/520_M3_solved.in | 2 -- test/030_move/520_M3_solved.out | 1 - test/030_move/521_S_solved.in | 2 -- test/030_move/521_S_solved.out | 1 - test/030_move/522_S2_solved.in | 2 -- test/030_move/522_S2_solved.out | 1 - test/030_move/523_S3_solved.in | 2 -- test/030_move/523_S3_solved.out | 1 - test/030_move/524_E_solved.in | 2 -- test/030_move/524_E_solved.out | 1 - test/030_move/525_E2_solved.in | 2 -- test/030_move/525_E2_solved.out | 1 - test/030_move/526_E3_solved.in | 2 -- test/030_move/526_E3_solved.out | 1 - test/030_move/527_x_solved.in | 2 -- test/030_move/527_x_solved.out | 1 - test/030_move/528_x2_solved.in | 2 -- test/030_move/528_x2_solved.out | 1 - test/030_move/529_x3_solved.in | 2 -- test/030_move/529_x3_solved.out | 1 - test/030_move/530_y_solved.in | 2 -- test/030_move/530_y_solved.out | 1 - test/030_move/531_y2_solved.in | 2 -- test/030_move/531_y2_solved.out | 1 - test/030_move/532_y3_solved.in | 2 -- test/030_move/532_y3_solved.out | 1 - test/030_move/533_z_solved.in | 2 -- test/030_move/533_z_solved.out | 1 - test/030_move/534_z2_solved.in | 2 -- test/030_move/534_z2_solved.out | 1 - test/030_move/535_z3_solved.in | 2 -- test/030_move/535_z3_solved.out | 1 - test/030_move/550_scrambled_random.in | 2 -- test/030_move/550_scrambled_random.out | 1 - test/030_move/559_solved_xzy.in | 2 -- test/030_move/559_solved_xzy.out | 1 - test/030_move/560_solved_RwS.in | 2 -- test/030_move/560_solved_RwS.out | 1 - test/030_move/561_solved_RwSE3.in | 2 -- test/030_move/561_solved_RwSE3.out | 1 - test/030_move/569_returns_to_noreorient.in | 2 -- test/030_move/569_returns_to_noreorient.out | 1 - test/030_move/move_tests.c | 23 --------------------- test/032_countmoves/05_niss.in | 1 + test/032_countmoves/05_niss.out | 1 + test/033_inverse_move/inverse_move_tests.c | 12 ++++++++--- test/051_compose_oriented/00_scrambled_noorient.in | 4 ++++ .../051_compose_oriented/00_scrambled_noorient.out | 1 + test/051_compose_oriented/01_Uw_Fw.in | 2 ++ test/051_compose_oriented/01_Uw_Fw.out | 1 + .../051_compose_oriented/02_scrambled_scrambled.in | 4 ++++ .../02_scrambled_scrambled.out | 1 + test/051_compose_oriented/compose_oriented_tests.c | 24 ++++++++++++++++++++++ test/062_transform_move/transform_move_tests.c | 12 ++++++++--- test/130_appendsolution/00_empty.in | 2 +- .../01_simple_onlynormal_nounniss.in | 2 +- .../02_simple_onlynormal_nounnis_multitrans.in | 2 +- test/130_appendsolution/03_simple_unniss.in | 4 ++-- test/130_appendsolution/04_niss_nounniss.in | 4 ++-- test/130_appendsolution/05_sort_parallel.in | 2 +- test/130_appendsolution/06_unniss_trans_sort.in | 4 ++-- test/130_appendsolution/07_unniss_cancel_nosol.in | 4 ++-- .../08_unniss_cancel_nosol_v2.in | 4 ++-- test/130_appendsolution/09_fullinverse_niss.in | 4 ++-- test/130_appendsolution/10_rotated.in | 5 +++++ test/130_appendsolution/10_rotated.out | 4 ++++ test/130_appendsolution/appendsolution_tests.c | 21 +++++++++++++------ 336 files changed, 362 insertions(+), 276 deletions(-) create mode 100644 test/030_applymoves/000_nomove_solved.in create mode 100644 test/030_applymoves/000_nomove_solved.out create mode 100644 test/030_applymoves/001_nomove_scrambled.in create mode 100644 test/030_applymoves/001_nomove_scrambled.out create mode 100644 test/030_applymoves/010_U_solved.in create mode 100644 test/030_applymoves/010_U_solved.out create mode 100644 test/030_applymoves/011_U_scrambled.in create mode 100644 test/030_applymoves/011_U_scrambled.out create mode 100644 test/030_applymoves/012_U_inverse.in create mode 100644 test/030_applymoves/012_U_inverse.out create mode 100644 test/030_applymoves/020_U2_solved.in create mode 100644 test/030_applymoves/020_U2_solved.out create mode 100644 test/030_applymoves/021_U2_scrambled.in create mode 100644 test/030_applymoves/021_U2_scrambled.out create mode 100644 test/030_applymoves/022_U2_inverse.in create mode 100644 test/030_applymoves/022_U2_inverse.out create mode 100644 test/030_applymoves/030_U3_solved.in create mode 100644 test/030_applymoves/030_U3_solved.out create mode 100644 test/030_applymoves/031_U3_inverse.in create mode 100644 test/030_applymoves/031_U3_inverse.out create mode 100644 test/030_applymoves/032_U3_scrambled.in create mode 100644 test/030_applymoves/032_U3_scrambled.out create mode 100644 test/030_applymoves/033_U3_with_prime.in create mode 100644 test/030_applymoves/033_U3_with_prime.out create mode 100644 test/030_applymoves/040_D_solved.in create mode 100644 test/030_applymoves/040_D_solved.out create mode 100644 test/030_applymoves/050_D2_solved.in create mode 100644 test/030_applymoves/050_D2_solved.out create mode 100644 test/030_applymoves/060_D3_solved.in create mode 100644 test/030_applymoves/060_D3_solved.out create mode 100644 test/030_applymoves/070_R_solved.in create mode 100644 test/030_applymoves/070_R_solved.out create mode 100644 test/030_applymoves/071_R_scrambled.in create mode 100644 test/030_applymoves/071_R_scrambled.out create mode 100644 test/030_applymoves/080_R2_solved.in create mode 100644 test/030_applymoves/080_R2_solved.out create mode 100644 test/030_applymoves/090_R3_solved.in create mode 100644 test/030_applymoves/090_R3_solved.out create mode 100644 test/030_applymoves/100_L_solved.in create mode 100644 test/030_applymoves/100_L_solved.out create mode 100644 test/030_applymoves/110_L2_solved.in create mode 100644 test/030_applymoves/110_L2_solved.out create mode 100644 test/030_applymoves/120_L3_solved.in create mode 100644 test/030_applymoves/120_L3_solved.out create mode 100644 test/030_applymoves/130_F_solved.in create mode 100644 test/030_applymoves/130_F_solved.out create mode 100644 test/030_applymoves/132_F_scrambled.in create mode 100644 test/030_applymoves/132_F_scrambled.out create mode 100644 test/030_applymoves/133_F_scrambled_2.in create mode 100644 test/030_applymoves/133_F_scrambled_2.out create mode 100644 test/030_applymoves/140_F2_solved.in create mode 100644 test/030_applymoves/140_F2_solved.out create mode 100644 test/030_applymoves/150_F3_solved.in create mode 100644 test/030_applymoves/150_F3_solved.out create mode 100644 test/030_applymoves/160_B_solved.in create mode 100644 test/030_applymoves/160_B_solved.out create mode 100644 test/030_applymoves/170_B2_solved.in create mode 100644 test/030_applymoves/170_B2_solved.out create mode 100644 test/030_applymoves/180_B3_solved.in create mode 100644 test/030_applymoves/180_B3_solved.out create mode 100644 test/030_applymoves/200_scramble_solved.in create mode 100644 test/030_applymoves/200_scramble_solved.out create mode 100644 test/030_applymoves/201_solution_scrambled.in create mode 100644 test/030_applymoves/201_solution_scrambled.out create mode 100644 test/030_applymoves/300_multimove_solved.in create mode 100644 test/030_applymoves/300_multimove_solved.out create mode 100644 test/030_applymoves/301_multimove_scrambled.in create mode 100644 test/030_applymoves/301_multimove_scrambled.out create mode 100644 test/030_applymoves/500_Uw_solved.in create mode 100644 test/030_applymoves/500_Uw_solved.out create mode 100644 test/030_applymoves/501_Uw2_solved.in create mode 100644 test/030_applymoves/501_Uw2_solved.out create mode 100644 test/030_applymoves/502_Uw3_solved.in create mode 100644 test/030_applymoves/502_Uw3_solved.out create mode 100644 test/030_applymoves/503_Dw_solved.in create mode 100644 test/030_applymoves/503_Dw_solved.out create mode 100644 test/030_applymoves/504_Dw2_solved.in create mode 100644 test/030_applymoves/504_Dw2_solved.out create mode 100644 test/030_applymoves/505_Dw3_solved.in create mode 100644 test/030_applymoves/505_Dw3_solved.out create mode 100644 test/030_applymoves/506_Rw_solved.in create mode 100644 test/030_applymoves/506_Rw_solved.out create mode 100644 test/030_applymoves/507_Rw2_solved.in create mode 100644 test/030_applymoves/507_Rw2_solved.out create mode 100644 test/030_applymoves/508_Rw3_solved.in create mode 100644 test/030_applymoves/508_Rw3_solved.out create mode 100644 test/030_applymoves/509_Lw_solved.in create mode 100644 test/030_applymoves/509_Lw_solved.out create mode 100644 test/030_applymoves/510_Lw2_solved.in create mode 100644 test/030_applymoves/510_Lw2_solved.out create mode 100644 test/030_applymoves/511_Lw3_solved.in create mode 100644 test/030_applymoves/511_Lw3_solved.out create mode 100644 test/030_applymoves/512_Fw_solved.in create mode 100644 test/030_applymoves/512_Fw_solved.out create mode 100644 test/030_applymoves/513_Fw2_solved.in create mode 100644 test/030_applymoves/513_Fw2_solved.out create mode 100644 test/030_applymoves/514_Fw3_solved.in create mode 100644 test/030_applymoves/514_Fw3_solved.out create mode 100644 test/030_applymoves/515_Bw_solved.in create mode 100644 test/030_applymoves/515_Bw_solved.out create mode 100644 test/030_applymoves/516_Bw2_solved.in create mode 100644 test/030_applymoves/516_Bw2_solved.out create mode 100644 test/030_applymoves/517_Bw3_solved.in create mode 100644 test/030_applymoves/517_Bw3_solved.out create mode 100644 test/030_applymoves/518_M_solved.in create mode 100644 test/030_applymoves/518_M_solved.out create mode 100644 test/030_applymoves/519_M2_solved.in create mode 100644 test/030_applymoves/519_M2_solved.out create mode 100644 test/030_applymoves/520_M3_solved.in create mode 100644 test/030_applymoves/520_M3_solved.out create mode 100644 test/030_applymoves/521_S_solved.in create mode 100644 test/030_applymoves/521_S_solved.out create mode 100644 test/030_applymoves/522_S2_solved.in create mode 100644 test/030_applymoves/522_S2_solved.out create mode 100644 test/030_applymoves/523_S3_solved.in create mode 100644 test/030_applymoves/523_S3_solved.out create mode 100644 test/030_applymoves/524_E_solved.in create mode 100644 test/030_applymoves/524_E_solved.out create mode 100644 test/030_applymoves/525_E2_solved.in create mode 100644 test/030_applymoves/525_E2_solved.out create mode 100644 test/030_applymoves/526_E3_solved.in create mode 100644 test/030_applymoves/526_E3_solved.out create mode 100644 test/030_applymoves/527_x_solved.in create mode 100644 test/030_applymoves/527_x_solved.out create mode 100644 test/030_applymoves/528_x2_solved.in create mode 100644 test/030_applymoves/528_x2_solved.out create mode 100644 test/030_applymoves/529_x3_solved.in create mode 100644 test/030_applymoves/529_x3_solved.out create mode 100644 test/030_applymoves/530_y_solved.in create mode 100644 test/030_applymoves/530_y_solved.out create mode 100644 test/030_applymoves/531_y2_solved.in create mode 100644 test/030_applymoves/531_y2_solved.out create mode 100644 test/030_applymoves/532_y3_solved.in create mode 100644 test/030_applymoves/532_y3_solved.out create mode 100644 test/030_applymoves/533_z_solved.in create mode 100644 test/030_applymoves/533_z_solved.out create mode 100644 test/030_applymoves/534_z2_solved.in create mode 100644 test/030_applymoves/534_z2_solved.out create mode 100644 test/030_applymoves/535_z3_solved.in create mode 100644 test/030_applymoves/535_z3_solved.out create mode 100644 test/030_applymoves/550_scrambled_random.in create mode 100644 test/030_applymoves/550_scrambled_random.out create mode 100644 test/030_applymoves/559_solved_xzy.in create mode 100644 test/030_applymoves/559_solved_xzy.out create mode 100644 test/030_applymoves/560_solved_RwS.in create mode 100644 test/030_applymoves/560_solved_RwS.out create mode 100644 test/030_applymoves/561_solved_RwSE3.in create mode 100644 test/030_applymoves/561_solved_RwSE3.out create mode 100644 test/030_applymoves/569_returns_to_noreorient.in create mode 100644 test/030_applymoves/569_returns_to_noreorient.out create mode 100644 test/030_applymoves/600_niss_solved.in create mode 100644 test/030_applymoves/600_niss_solved.out create mode 100644 test/030_applymoves/601_niss_solved_widenormal.in create mode 100644 test/030_applymoves/601_niss_solved_widenormal.out create mode 100644 test/030_applymoves/602_scrambled_niss_1x3.in create mode 100644 test/030_applymoves/602_scrambled_niss_1x3.out create mode 100644 test/030_applymoves/603_scrambled_long_niss.in create mode 100644 test/030_applymoves/603_scrambled_long_niss.out create mode 100644 test/030_applymoves/604_scrambled_niss_extendedmoves.in create mode 100644 test/030_applymoves/604_scrambled_niss_extendedmoves.out create mode 100644 test/030_applymoves/applymoves_tests.c delete mode 100644 test/030_move/000_nomove_solved.in delete mode 100644 test/030_move/000_nomove_solved.out delete mode 100644 test/030_move/001_nomove_scrambled.in delete mode 100644 test/030_move/001_nomove_scrambled.out delete mode 100644 test/030_move/010_U_solved.in delete mode 100644 test/030_move/010_U_solved.out delete mode 100644 test/030_move/011_U_scrambled.in delete mode 100644 test/030_move/011_U_scrambled.out delete mode 100644 test/030_move/012_U_inverse.in delete mode 100644 test/030_move/012_U_inverse.out delete mode 100644 test/030_move/020_U2_solved.in delete mode 100644 test/030_move/020_U2_solved.out delete mode 100644 test/030_move/021_U2_scrambled.in delete mode 100644 test/030_move/021_U2_scrambled.out delete mode 100644 test/030_move/022_U2_inverse.in delete mode 100644 test/030_move/022_U2_inverse.out delete mode 100644 test/030_move/030_U3_solved.in delete mode 100644 test/030_move/030_U3_solved.out delete mode 100644 test/030_move/031_U3_inverse.in delete mode 100644 test/030_move/031_U3_inverse.out delete mode 100644 test/030_move/032_U3_scrambled.in delete mode 100644 test/030_move/032_U3_scrambled.out delete mode 100644 test/030_move/033_U3_with_prime.in delete mode 100644 test/030_move/033_U3_with_prime.out delete mode 100644 test/030_move/040_D_solved.in delete mode 100644 test/030_move/040_D_solved.out delete mode 100644 test/030_move/050_D2_solved.in delete mode 100644 test/030_move/050_D2_solved.out delete mode 100644 test/030_move/060_D3_solved.in delete mode 100644 test/030_move/060_D3_solved.out delete mode 100644 test/030_move/070_R_solved.in delete mode 100644 test/030_move/070_R_solved.out delete mode 100644 test/030_move/071_R_scrambled.in delete mode 100644 test/030_move/071_R_scrambled.out delete mode 100644 test/030_move/080_R2_solved.in delete mode 100644 test/030_move/080_R2_solved.out delete mode 100644 test/030_move/090_R3_solved.in delete mode 100644 test/030_move/090_R3_solved.out delete mode 100644 test/030_move/100_L_solved.in delete mode 100644 test/030_move/100_L_solved.out delete mode 100644 test/030_move/110_L2_solved.in delete mode 100644 test/030_move/110_L2_solved.out delete mode 100644 test/030_move/120_L3_solved.in delete mode 100644 test/030_move/120_L3_solved.out delete mode 100644 test/030_move/130_F_solved.in delete mode 100644 test/030_move/130_F_solved.out delete mode 100644 test/030_move/132_F_scrambled.in delete mode 100644 test/030_move/132_F_scrambled.out delete mode 100644 test/030_move/133_F_scrambled_2.in delete mode 100644 test/030_move/133_F_scrambled_2.out delete mode 100644 test/030_move/140_F2_solved.in delete mode 100644 test/030_move/140_F2_solved.out delete mode 100644 test/030_move/150_F3_solved.in delete mode 100644 test/030_move/150_F3_solved.out delete mode 100644 test/030_move/160_B_solved.in delete mode 100644 test/030_move/160_B_solved.out delete mode 100644 test/030_move/170_B2_solved.in delete mode 100644 test/030_move/170_B2_solved.out delete mode 100644 test/030_move/180_B3_solved.in delete mode 100644 test/030_move/180_B3_solved.out delete mode 100644 test/030_move/200_scramble_solved.in delete mode 100644 test/030_move/200_scramble_solved.out delete mode 100644 test/030_move/201_solution_scrambled.in delete mode 100644 test/030_move/201_solution_scrambled.out delete mode 100644 test/030_move/300_multimove_solved.in delete mode 100644 test/030_move/300_multimove_solved.out delete mode 100644 test/030_move/301_multimove_scrambled.in delete mode 100644 test/030_move/301_multimove_scrambled.out delete mode 100644 test/030_move/500_Uw_solved.in delete mode 100644 test/030_move/500_Uw_solved.out delete mode 100644 test/030_move/501_Uw2_solved.in delete mode 100644 test/030_move/501_Uw2_solved.out delete mode 100644 test/030_move/502_Uw3_solved.in delete mode 100644 test/030_move/502_Uw3_solved.out delete mode 100644 test/030_move/503_Dw_solved.in delete mode 100644 test/030_move/503_Dw_solved.out delete mode 100644 test/030_move/504_Dw2_solved.in delete mode 100644 test/030_move/504_Dw2_solved.out delete mode 100644 test/030_move/505_Dw3_solved.in delete mode 100644 test/030_move/505_Dw3_solved.out delete mode 100644 test/030_move/506_Rw_solved.in delete mode 100644 test/030_move/506_Rw_solved.out delete mode 100644 test/030_move/507_Rw2_solved.in delete mode 100644 test/030_move/507_Rw2_solved.out delete mode 100644 test/030_move/508_Rw3_solved.in delete mode 100644 test/030_move/508_Rw3_solved.out delete mode 100644 test/030_move/509_Lw_solved.in delete mode 100644 test/030_move/509_Lw_solved.out delete mode 100644 test/030_move/510_Lw2_solved.in delete mode 100644 test/030_move/510_Lw2_solved.out delete mode 100644 test/030_move/511_Lw3_solved.in delete mode 100644 test/030_move/511_Lw3_solved.out delete mode 100644 test/030_move/512_Fw_solved.in delete mode 100644 test/030_move/512_Fw_solved.out delete mode 100644 test/030_move/513_Fw2_solved.in delete mode 100644 test/030_move/513_Fw2_solved.out delete mode 100644 test/030_move/514_Fw3_solved.in delete mode 100644 test/030_move/514_Fw3_solved.out delete mode 100644 test/030_move/515_Bw_solved.in delete mode 100644 test/030_move/515_Bw_solved.out delete mode 100644 test/030_move/516_Bw2_solved.in delete mode 100644 test/030_move/516_Bw2_solved.out delete mode 100644 test/030_move/517_Bw3_solved.in delete mode 100644 test/030_move/517_Bw3_solved.out delete mode 100644 test/030_move/518_M_solved.in delete mode 100644 test/030_move/518_M_solved.out delete mode 100644 test/030_move/519_M2_solved.in delete mode 100644 test/030_move/519_M2_solved.out delete mode 100644 test/030_move/520_M3_solved.in delete mode 100644 test/030_move/520_M3_solved.out delete mode 100644 test/030_move/521_S_solved.in delete mode 100644 test/030_move/521_S_solved.out delete mode 100644 test/030_move/522_S2_solved.in delete mode 100644 test/030_move/522_S2_solved.out delete mode 100644 test/030_move/523_S3_solved.in delete mode 100644 test/030_move/523_S3_solved.out delete mode 100644 test/030_move/524_E_solved.in delete mode 100644 test/030_move/524_E_solved.out delete mode 100644 test/030_move/525_E2_solved.in delete mode 100644 test/030_move/525_E2_solved.out delete mode 100644 test/030_move/526_E3_solved.in delete mode 100644 test/030_move/526_E3_solved.out delete mode 100644 test/030_move/527_x_solved.in delete mode 100644 test/030_move/527_x_solved.out delete mode 100644 test/030_move/528_x2_solved.in delete mode 100644 test/030_move/528_x2_solved.out delete mode 100644 test/030_move/529_x3_solved.in delete mode 100644 test/030_move/529_x3_solved.out delete mode 100644 test/030_move/530_y_solved.in delete mode 100644 test/030_move/530_y_solved.out delete mode 100644 test/030_move/531_y2_solved.in delete mode 100644 test/030_move/531_y2_solved.out delete mode 100644 test/030_move/532_y3_solved.in delete mode 100644 test/030_move/532_y3_solved.out delete mode 100644 test/030_move/533_z_solved.in delete mode 100644 test/030_move/533_z_solved.out delete mode 100644 test/030_move/534_z2_solved.in delete mode 100644 test/030_move/534_z2_solved.out delete mode 100644 test/030_move/535_z3_solved.in delete mode 100644 test/030_move/535_z3_solved.out delete mode 100644 test/030_move/550_scrambled_random.in delete mode 100644 test/030_move/550_scrambled_random.out delete mode 100644 test/030_move/559_solved_xzy.in delete mode 100644 test/030_move/559_solved_xzy.out delete mode 100644 test/030_move/560_solved_RwS.in delete mode 100644 test/030_move/560_solved_RwS.out delete mode 100644 test/030_move/561_solved_RwSE3.in delete mode 100644 test/030_move/561_solved_RwSE3.out delete mode 100644 test/030_move/569_returns_to_noreorient.in delete mode 100644 test/030_move/569_returns_to_noreorient.out delete mode 100644 test/030_move/move_tests.c create mode 100644 test/032_countmoves/05_niss.in create mode 100644 test/032_countmoves/05_niss.out create mode 100644 test/051_compose_oriented/00_scrambled_noorient.in create mode 100644 test/051_compose_oriented/00_scrambled_noorient.out create mode 100644 test/051_compose_oriented/01_Uw_Fw.in create mode 100644 test/051_compose_oriented/01_Uw_Fw.out create mode 100644 test/051_compose_oriented/02_scrambled_scrambled.in create mode 100644 test/051_compose_oriented/02_scrambled_scrambled.out create mode 100644 test/051_compose_oriented/compose_oriented_tests.c create mode 100644 test/130_appendsolution/10_rotated.in create mode 100644 test/130_appendsolution/10_rotated.out (limited to 'test') diff --git a/test/030_applymoves/000_nomove_solved.in b/test/030_applymoves/000_nomove_solved.in new file mode 100644 index 0000000..149c123 --- /dev/null +++ b/test/030_applymoves/000_nomove_solved.in @@ -0,0 +1,2 @@ + +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/000_nomove_solved.out b/test/030_applymoves/000_nomove_solved.out new file mode 100644 index 0000000..5aa6ba7 --- /dev/null +++ b/test/030_applymoves/000_nomove_solved.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/001_nomove_scrambled.in b/test/030_applymoves/001_nomove_scrambled.in new file mode 100644 index 0000000..700d45f --- /dev/null +++ b/test/030_applymoves/001_nomove_scrambled.in @@ -0,0 +1,2 @@ + +BLMWANPC=LTWIRXAEFZKS=A diff --git a/test/030_applymoves/001_nomove_scrambled.out b/test/030_applymoves/001_nomove_scrambled.out new file mode 100644 index 0000000..d1fc648 --- /dev/null +++ b/test/030_applymoves/001_nomove_scrambled.out @@ -0,0 +1 @@ +BLMWANPC=LTWIRXAEFZKS=A diff --git a/test/030_applymoves/010_U_solved.in b/test/030_applymoves/010_U_solved.in new file mode 100644 index 0000000..3c87da7 --- /dev/null +++ b/test/030_applymoves/010_U_solved.in @@ -0,0 +1,2 @@ +U +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/010_U_solved.out b/test/030_applymoves/010_U_solved.out new file mode 100644 index 0000000..250d3a1 --- /dev/null +++ b/test/030_applymoves/010_U_solved.out @@ -0,0 +1 @@ +FECDABGH=EFCDBAGHIJKL=A diff --git a/test/030_applymoves/011_U_scrambled.in b/test/030_applymoves/011_U_scrambled.in new file mode 100644 index 0000000..7245f4e --- /dev/null +++ b/test/030_applymoves/011_U_scrambled.in @@ -0,0 +1,2 @@ +U +BLMWANPC=LTWIRXAEFZKS=A diff --git a/test/030_applymoves/011_U_scrambled.out b/test/030_applymoves/011_U_scrambled.out new file mode 100644 index 0000000..fb9b6c9 --- /dev/null +++ b/test/030_applymoves/011_U_scrambled.out @@ -0,0 +1 @@ +NAMWBLPC=RXWITLAEFZKS=A diff --git a/test/030_applymoves/012_U_inverse.in b/test/030_applymoves/012_U_inverse.in new file mode 100644 index 0000000..4a41554 --- /dev/null +++ b/test/030_applymoves/012_U_inverse.in @@ -0,0 +1,2 @@ +U +EFCDBAGH=FECDABGHIJKL=A diff --git a/test/030_applymoves/012_U_inverse.out b/test/030_applymoves/012_U_inverse.out new file mode 100644 index 0000000..5aa6ba7 --- /dev/null +++ b/test/030_applymoves/012_U_inverse.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/020_U2_solved.in b/test/030_applymoves/020_U2_solved.in new file mode 100644 index 0000000..a261a22 --- /dev/null +++ b/test/030_applymoves/020_U2_solved.in @@ -0,0 +1,2 @@ +U2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/020_U2_solved.out b/test/030_applymoves/020_U2_solved.out new file mode 100644 index 0000000..b14792e --- /dev/null +++ b/test/030_applymoves/020_U2_solved.out @@ -0,0 +1 @@ +BACDFEGH=BACDFEGHIJKL=A diff --git a/test/030_applymoves/021_U2_scrambled.in b/test/030_applymoves/021_U2_scrambled.in new file mode 100644 index 0000000..5e7fab6 --- /dev/null +++ b/test/030_applymoves/021_U2_scrambled.in @@ -0,0 +1,2 @@ +U2 +BLMWANPC=LTWIRXAEFZKS=A diff --git a/test/030_applymoves/021_U2_scrambled.out b/test/030_applymoves/021_U2_scrambled.out new file mode 100644 index 0000000..c95806f --- /dev/null +++ b/test/030_applymoves/021_U2_scrambled.out @@ -0,0 +1 @@ +LBMWNAPC=TLWIXRAEFZKS=A diff --git a/test/030_applymoves/022_U2_inverse.in b/test/030_applymoves/022_U2_inverse.in new file mode 100644 index 0000000..071ab85 --- /dev/null +++ b/test/030_applymoves/022_U2_inverse.in @@ -0,0 +1,2 @@ +U2 +BACDFEGH=BACDFEGHIJKL=A diff --git a/test/030_applymoves/022_U2_inverse.out b/test/030_applymoves/022_U2_inverse.out new file mode 100644 index 0000000..5aa6ba7 --- /dev/null +++ b/test/030_applymoves/022_U2_inverse.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/030_U3_solved.in b/test/030_applymoves/030_U3_solved.in new file mode 100644 index 0000000..42bfad7 --- /dev/null +++ b/test/030_applymoves/030_U3_solved.in @@ -0,0 +1,2 @@ +U3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/030_U3_solved.out b/test/030_applymoves/030_U3_solved.out new file mode 100644 index 0000000..111ba2b --- /dev/null +++ b/test/030_applymoves/030_U3_solved.out @@ -0,0 +1 @@ +EFCDBAGH=FECDABGHIJKL=A diff --git a/test/030_applymoves/031_U3_inverse.in b/test/030_applymoves/031_U3_inverse.in new file mode 100644 index 0000000..50788bd --- /dev/null +++ b/test/030_applymoves/031_U3_inverse.in @@ -0,0 +1,2 @@ +U3 +FECDABGH=EFCDBAGHIJKL=A diff --git a/test/030_applymoves/031_U3_inverse.out b/test/030_applymoves/031_U3_inverse.out new file mode 100644 index 0000000..5aa6ba7 --- /dev/null +++ b/test/030_applymoves/031_U3_inverse.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/032_U3_scrambled.in b/test/030_applymoves/032_U3_scrambled.in new file mode 100644 index 0000000..49293ff --- /dev/null +++ b/test/030_applymoves/032_U3_scrambled.in @@ -0,0 +1,2 @@ +U3 +VKELRGXI=QLWUYJFaHTCB=A diff --git a/test/030_applymoves/032_U3_scrambled.out b/test/030_applymoves/032_U3_scrambled.out new file mode 100644 index 0000000..80862a2 --- /dev/null +++ b/test/030_applymoves/032_U3_scrambled.out @@ -0,0 +1 @@ +RGELKVXI=JYWUQLFaHTCB=A diff --git a/test/030_applymoves/033_U3_with_prime.in b/test/030_applymoves/033_U3_with_prime.in new file mode 100644 index 0000000..7c16119 --- /dev/null +++ b/test/030_applymoves/033_U3_with_prime.in @@ -0,0 +1,2 @@ +U' +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/033_U3_with_prime.out b/test/030_applymoves/033_U3_with_prime.out new file mode 100644 index 0000000..111ba2b --- /dev/null +++ b/test/030_applymoves/033_U3_with_prime.out @@ -0,0 +1 @@ +EFCDBAGH=FECDABGHIJKL=A diff --git a/test/030_applymoves/040_D_solved.in b/test/030_applymoves/040_D_solved.in new file mode 100644 index 0000000..adc471e --- /dev/null +++ b/test/030_applymoves/040_D_solved.in @@ -0,0 +1,2 @@ +D +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/040_D_solved.out b/test/030_applymoves/040_D_solved.out new file mode 100644 index 0000000..ffcea5d --- /dev/null +++ b/test/030_applymoves/040_D_solved.out @@ -0,0 +1 @@ +ABHGEFCD=ABHGEFCDIJKL=A diff --git a/test/030_applymoves/050_D2_solved.in b/test/030_applymoves/050_D2_solved.in new file mode 100644 index 0000000..0696727 --- /dev/null +++ b/test/030_applymoves/050_D2_solved.in @@ -0,0 +1,2 @@ +D2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/050_D2_solved.out b/test/030_applymoves/050_D2_solved.out new file mode 100644 index 0000000..f872210 --- /dev/null +++ b/test/030_applymoves/050_D2_solved.out @@ -0,0 +1 @@ +ABDCEFHG=ABDCEFHGIJKL=A diff --git a/test/030_applymoves/060_D3_solved.in b/test/030_applymoves/060_D3_solved.in new file mode 100644 index 0000000..867183d --- /dev/null +++ b/test/030_applymoves/060_D3_solved.in @@ -0,0 +1,2 @@ +D3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/060_D3_solved.out b/test/030_applymoves/060_D3_solved.out new file mode 100644 index 0000000..acd829c --- /dev/null +++ b/test/030_applymoves/060_D3_solved.out @@ -0,0 +1 @@ +ABGHEFDC=ABGHEFDCIJKL=A diff --git a/test/030_applymoves/070_R_solved.in b/test/030_applymoves/070_R_solved.in new file mode 100644 index 0000000..e164209 --- /dev/null +++ b/test/030_applymoves/070_R_solved.in @@ -0,0 +1,2 @@ +R +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/070_R_solved.out b/test/030_applymoves/070_R_solved.out new file mode 100644 index 0000000..1be2e89 --- /dev/null +++ b/test/030_applymoves/070_R_solved.out @@ -0,0 +1 @@ +WBCVEILH=ABCDIFGLHJKE=A diff --git a/test/030_applymoves/071_R_scrambled.in b/test/030_applymoves/071_R_scrambled.in new file mode 100644 index 0000000..4134942 --- /dev/null +++ b/test/030_applymoves/071_R_scrambled.in @@ -0,0 +1,2 @@ +R +VKELRGXI=QLWUYJFaHTCB=A diff --git a/test/030_applymoves/071_R_scrambled.out b/test/030_applymoves/071_R_scrambled.out new file mode 100644 index 0000000..1711b22 --- /dev/null +++ b/test/030_applymoves/071_R_scrambled.out @@ -0,0 +1 @@ +PKEWRFTI=QLWUHJFBaTCY=A diff --git a/test/030_applymoves/080_R2_solved.in b/test/030_applymoves/080_R2_solved.in new file mode 100644 index 0000000..25b0b10 --- /dev/null +++ b/test/030_applymoves/080_R2_solved.in @@ -0,0 +1,2 @@ +R2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/080_R2_solved.out b/test/030_applymoves/080_R2_solved.out new file mode 100644 index 0000000..6611740 --- /dev/null +++ b/test/030_applymoves/080_R2_solved.out @@ -0,0 +1 @@ +DBCAEGFH=ABCDHFGELJKI=A diff --git a/test/030_applymoves/090_R3_solved.in b/test/030_applymoves/090_R3_solved.in new file mode 100644 index 0000000..ffab472 --- /dev/null +++ b/test/030_applymoves/090_R3_solved.in @@ -0,0 +1,2 @@ +R3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/090_R3_solved.out b/test/030_applymoves/090_R3_solved.out new file mode 100644 index 0000000..a14e69b --- /dev/null +++ b/test/030_applymoves/090_R3_solved.out @@ -0,0 +1 @@ +VBCWELIH=ABCDLFGIEJKH=A diff --git a/test/030_applymoves/100_L_solved.in b/test/030_applymoves/100_L_solved.in new file mode 100644 index 0000000..e47b8ff --- /dev/null +++ b/test/030_applymoves/100_L_solved.in @@ -0,0 +1,2 @@ +L +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/100_L_solved.out b/test/030_applymoves/100_L_solved.out new file mode 100644 index 0000000..5aa4131 --- /dev/null +++ b/test/030_applymoves/100_L_solved.out @@ -0,0 +1 @@ +AXUDJFGK=ABCDEKJHIFGL=A diff --git a/test/030_applymoves/110_L2_solved.in b/test/030_applymoves/110_L2_solved.in new file mode 100644 index 0000000..c71e7ff --- /dev/null +++ b/test/030_applymoves/110_L2_solved.in @@ -0,0 +1,2 @@ +L2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/110_L2_solved.out b/test/030_applymoves/110_L2_solved.out new file mode 100644 index 0000000..4fe322f --- /dev/null +++ b/test/030_applymoves/110_L2_solved.out @@ -0,0 +1 @@ +ACBDHFGE=ABCDEGFHIKJL=A diff --git a/test/030_applymoves/120_L3_solved.in b/test/030_applymoves/120_L3_solved.in new file mode 100644 index 0000000..7f82d91 --- /dev/null +++ b/test/030_applymoves/120_L3_solved.in @@ -0,0 +1,2 @@ +L3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/120_L3_solved.out b/test/030_applymoves/120_L3_solved.out new file mode 100644 index 0000000..fbe35f3 --- /dev/null +++ b/test/030_applymoves/120_L3_solved.out @@ -0,0 +1 @@ +AUXDKFGJ=ABCDEJKHIGFL=A diff --git a/test/030_applymoves/130_F_solved.in b/test/030_applymoves/130_F_solved.in new file mode 100644 index 0000000..dcb65dc --- /dev/null +++ b/test/030_applymoves/130_F_solved.in @@ -0,0 +1,2 @@ +F +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/130_F_solved.out b/test/030_applymoves/130_F_solved.out new file mode 100644 index 0000000..a75744c --- /dev/null +++ b/test/030_applymoves/130_F_solved.out @@ -0,0 +1 @@ +MBODSFQH=ZBCYEFGHQTKL=A diff --git a/test/030_applymoves/132_F_scrambled.in b/test/030_applymoves/132_F_scrambled.in new file mode 100644 index 0000000..e793507 --- /dev/null +++ b/test/030_applymoves/132_F_scrambled.in @@ -0,0 +1,2 @@ +F +APDMOKRF=WLHUDZKFIASB=A diff --git a/test/030_applymoves/132_F_scrambled.out b/test/030_applymoves/132_F_scrambled.out new file mode 100644 index 0000000..2992f71 --- /dev/null +++ b/test/030_applymoves/132_F_scrambled.out @@ -0,0 +1 @@ +WPBMTKQF=QLHYDZKFGESB=A diff --git a/test/030_applymoves/133_F_scrambled_2.in b/test/030_applymoves/133_F_scrambled_2.in new file mode 100644 index 0000000..35af326 --- /dev/null +++ b/test/030_applymoves/133_F_scrambled_2.in @@ -0,0 +1,2 @@ +F +VJWXDCAU=aCVDbQGZBXYU=A diff --git a/test/030_applymoves/133_F_scrambled_2.out b/test/030_applymoves/133_F_scrambled_2.out new file mode 100644 index 0000000..7fd0f96 --- /dev/null +++ b/test/030_applymoves/133_F_scrambled_2.out @@ -0,0 +1 @@ +LJIXOCNU=HCVRbQGZKTYU=A diff --git a/test/030_applymoves/140_F2_solved.in b/test/030_applymoves/140_F2_solved.in new file mode 100644 index 0000000..9ac2bbf --- /dev/null +++ b/test/030_applymoves/140_F2_solved.in @@ -0,0 +1,2 @@ +F2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/140_F2_solved.out b/test/030_applymoves/140_F2_solved.out new file mode 100644 index 0000000..69720be --- /dev/null +++ b/test/030_applymoves/140_F2_solved.out @@ -0,0 +1 @@ +CBADGFEH=DBCAEFGHJIKL=A diff --git a/test/030_applymoves/150_F3_solved.in b/test/030_applymoves/150_F3_solved.in new file mode 100644 index 0000000..dbfb928 --- /dev/null +++ b/test/030_applymoves/150_F3_solved.in @@ -0,0 +1,2 @@ +F3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/150_F3_solved.out b/test/030_applymoves/150_F3_solved.out new file mode 100644 index 0000000..500d969 --- /dev/null +++ b/test/030_applymoves/150_F3_solved.out @@ -0,0 +1 @@ +OBMDQFSH=YBCZEFGHTQKL=A diff --git a/test/030_applymoves/160_B_solved.in b/test/030_applymoves/160_B_solved.in new file mode 100644 index 0000000..25b045d --- /dev/null +++ b/test/030_applymoves/160_B_solved.in @@ -0,0 +1,2 @@ +B +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/160_B_solved.out b/test/030_applymoves/160_B_solved.out new file mode 100644 index 0000000..73e099a --- /dev/null +++ b/test/030_applymoves/160_B_solved.out @@ -0,0 +1 @@ +ANCPETGR=AbaDEFGHIJRS=A diff --git a/test/030_applymoves/170_B2_solved.in b/test/030_applymoves/170_B2_solved.in new file mode 100644 index 0000000..bd25f3a --- /dev/null +++ b/test/030_applymoves/170_B2_solved.in @@ -0,0 +1,2 @@ +B2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/170_B2_solved.out b/test/030_applymoves/170_B2_solved.out new file mode 100644 index 0000000..1021aeb --- /dev/null +++ b/test/030_applymoves/170_B2_solved.out @@ -0,0 +1 @@ +ADCBEHGF=ACBDEFGHIJLK=A diff --git a/test/030_applymoves/180_B3_solved.in b/test/030_applymoves/180_B3_solved.in new file mode 100644 index 0000000..a38d932 --- /dev/null +++ b/test/030_applymoves/180_B3_solved.in @@ -0,0 +1,2 @@ +B3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/180_B3_solved.out b/test/030_applymoves/180_B3_solved.out new file mode 100644 index 0000000..78bd94a --- /dev/null +++ b/test/030_applymoves/180_B3_solved.out @@ -0,0 +1 @@ +APCNERGT=AabDEFGHIJSR=A diff --git a/test/030_applymoves/200_scramble_solved.in b/test/030_applymoves/200_scramble_solved.in new file mode 100644 index 0000000..65127d4 --- /dev/null +++ b/test/030_applymoves/200_scramble_solved.in @@ -0,0 +1,2 @@ +B' D' B' R2 B' R F D F2 U2 B D2 F R2 F2 L2 F L2 U2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/200_scramble_solved.out b/test/030_applymoves/200_scramble_solved.out new file mode 100644 index 0000000..6d77f16 --- /dev/null +++ b/test/030_applymoves/200_scramble_solved.out @@ -0,0 +1 @@ +CGMRLHIN=LDZBKYUFXCQW=A diff --git a/test/030_applymoves/201_solution_scrambled.in b/test/030_applymoves/201_solution_scrambled.in new file mode 100644 index 0000000..e4d20b5 --- /dev/null +++ b/test/030_applymoves/201_solution_scrambled.in @@ -0,0 +1,2 @@ +F' B' D2 U2 F2 U' L' U D B D' R2 B' L' R' D' R D L2 U' L' B L L U F U' F' U F U' F2 L' F U F U' F' U2 F2 R2 L2 B2 +CGMRLHIN=LDZBKYUFXCQW=A diff --git a/test/030_applymoves/201_solution_scrambled.out b/test/030_applymoves/201_solution_scrambled.out new file mode 100644 index 0000000..5aa6ba7 --- /dev/null +++ b/test/030_applymoves/201_solution_scrambled.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/300_multimove_solved.in b/test/030_applymoves/300_multimove_solved.in new file mode 100644 index 0000000..751602a --- /dev/null +++ b/test/030_applymoves/300_multimove_solved.in @@ -0,0 +1,2 @@ +B2 D' L2 D' B2 D B2 R2 B2 D U2 R D R2 B L' B' L2 U B2 U +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/300_multimove_solved.out b/test/030_applymoves/300_multimove_solved.out new file mode 100644 index 0000000..d069105 --- /dev/null +++ b/test/030_applymoves/300_multimove_solved.out @@ -0,0 +1 @@ +NOBSLXIM=RFQGJCLKDIHE=A diff --git a/test/030_applymoves/301_multimove_scrambled.in b/test/030_applymoves/301_multimove_scrambled.in new file mode 100644 index 0000000..dbe14c6 --- /dev/null +++ b/test/030_applymoves/301_multimove_scrambled.in @@ -0,0 +1,2 @@ +D2 B2 L U2 B2 L' B2 R' D2 R D2 B F L U F2 L' R' B2 U B2 +NOBSLXIM=RFQGJCLKDIHE=A diff --git a/test/030_applymoves/301_multimove_scrambled.out b/test/030_applymoves/301_multimove_scrambled.out new file mode 100644 index 0000000..9c668da --- /dev/null +++ b/test/030_applymoves/301_multimove_scrambled.out @@ -0,0 +1 @@ +WCHENBQL=VBWEaXLCZAYD=A diff --git a/test/030_applymoves/500_Uw_solved.in b/test/030_applymoves/500_Uw_solved.in new file mode 100644 index 0000000..3e79076 --- /dev/null +++ b/test/030_applymoves/500_Uw_solved.in @@ -0,0 +1,2 @@ +Uw +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/500_Uw_solved.out b/test/030_applymoves/500_Uw_solved.out new file mode 100644 index 0000000..fc08019 --- /dev/null +++ b/test/030_applymoves/500_Uw_solved.out @@ -0,0 +1 @@ +ABHGEFCD=ABHGEFCDIJKL=B diff --git a/test/030_applymoves/501_Uw2_solved.in b/test/030_applymoves/501_Uw2_solved.in new file mode 100644 index 0000000..fb0cf4b --- /dev/null +++ b/test/030_applymoves/501_Uw2_solved.in @@ -0,0 +1,2 @@ +Uw2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/501_Uw2_solved.out b/test/030_applymoves/501_Uw2_solved.out new file mode 100644 index 0000000..eb734e6 --- /dev/null +++ b/test/030_applymoves/501_Uw2_solved.out @@ -0,0 +1 @@ +ABDCEFHG=ABDCEFHGIJKL=C diff --git a/test/030_applymoves/502_Uw3_solved.in b/test/030_applymoves/502_Uw3_solved.in new file mode 100644 index 0000000..3b4ebf6 --- /dev/null +++ b/test/030_applymoves/502_Uw3_solved.in @@ -0,0 +1,2 @@ +Uw3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/502_Uw3_solved.out b/test/030_applymoves/502_Uw3_solved.out new file mode 100644 index 0000000..6724a49 --- /dev/null +++ b/test/030_applymoves/502_Uw3_solved.out @@ -0,0 +1 @@ +ABGHEFDC=ABGHEFDCIJKL=D diff --git a/test/030_applymoves/503_Dw_solved.in b/test/030_applymoves/503_Dw_solved.in new file mode 100644 index 0000000..da4009e --- /dev/null +++ b/test/030_applymoves/503_Dw_solved.in @@ -0,0 +1,2 @@ +Dw +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/503_Dw_solved.out b/test/030_applymoves/503_Dw_solved.out new file mode 100644 index 0000000..f554f31 --- /dev/null +++ b/test/030_applymoves/503_Dw_solved.out @@ -0,0 +1 @@ +FECDABGH=EFCDBAGHIJKL=D diff --git a/test/030_applymoves/504_Dw2_solved.in b/test/030_applymoves/504_Dw2_solved.in new file mode 100644 index 0000000..5e403a4 --- /dev/null +++ b/test/030_applymoves/504_Dw2_solved.in @@ -0,0 +1,2 @@ +Dw2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/504_Dw2_solved.out b/test/030_applymoves/504_Dw2_solved.out new file mode 100644 index 0000000..51c13ad --- /dev/null +++ b/test/030_applymoves/504_Dw2_solved.out @@ -0,0 +1 @@ +BACDFEGH=BACDFEGHIJKL=C diff --git a/test/030_applymoves/505_Dw3_solved.in b/test/030_applymoves/505_Dw3_solved.in new file mode 100644 index 0000000..d4a9fbb --- /dev/null +++ b/test/030_applymoves/505_Dw3_solved.in @@ -0,0 +1,2 @@ +Dw3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/505_Dw3_solved.out b/test/030_applymoves/505_Dw3_solved.out new file mode 100644 index 0000000..b842e86 --- /dev/null +++ b/test/030_applymoves/505_Dw3_solved.out @@ -0,0 +1 @@ +EFCDBAGH=FECDABGHIJKL=B diff --git a/test/030_applymoves/506_Rw_solved.in b/test/030_applymoves/506_Rw_solved.in new file mode 100644 index 0000000..4387d10 --- /dev/null +++ b/test/030_applymoves/506_Rw_solved.in @@ -0,0 +1,2 @@ +Rw +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/506_Rw_solved.out b/test/030_applymoves/506_Rw_solved.out new file mode 100644 index 0000000..853c85d --- /dev/null +++ b/test/030_applymoves/506_Rw_solved.out @@ -0,0 +1 @@ +AXUDJFGK=ABCDEKJHIFGL=Q diff --git a/test/030_applymoves/507_Rw2_solved.in b/test/030_applymoves/507_Rw2_solved.in new file mode 100644 index 0000000..3510315 --- /dev/null +++ b/test/030_applymoves/507_Rw2_solved.in @@ -0,0 +1,2 @@ +Rw2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/507_Rw2_solved.out b/test/030_applymoves/507_Rw2_solved.out new file mode 100644 index 0000000..f89caca --- /dev/null +++ b/test/030_applymoves/507_Rw2_solved.out @@ -0,0 +1 @@ +ACBDHFGE=ABCDEGFHIKJL=G diff --git a/test/030_applymoves/508_Rw3_solved.in b/test/030_applymoves/508_Rw3_solved.in new file mode 100644 index 0000000..69cb0b2 --- /dev/null +++ b/test/030_applymoves/508_Rw3_solved.in @@ -0,0 +1,2 @@ +Rw3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/508_Rw3_solved.out b/test/030_applymoves/508_Rw3_solved.out new file mode 100644 index 0000000..38ae9a9 --- /dev/null +++ b/test/030_applymoves/508_Rw3_solved.out @@ -0,0 +1 @@ +AUXDKFGJ=ABCDEJKHIGFL=W diff --git a/test/030_applymoves/509_Lw_solved.in b/test/030_applymoves/509_Lw_solved.in new file mode 100644 index 0000000..ddd8aea --- /dev/null +++ b/test/030_applymoves/509_Lw_solved.in @@ -0,0 +1,2 @@ +Lw +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/509_Lw_solved.out b/test/030_applymoves/509_Lw_solved.out new file mode 100644 index 0000000..b588134 --- /dev/null +++ b/test/030_applymoves/509_Lw_solved.out @@ -0,0 +1 @@ +WBCVEILH=ABCDIFGLHJKE=W diff --git a/test/030_applymoves/510_Lw2_solved.in b/test/030_applymoves/510_Lw2_solved.in new file mode 100644 index 0000000..c0a00b3 --- /dev/null +++ b/test/030_applymoves/510_Lw2_solved.in @@ -0,0 +1,2 @@ +Lw2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/510_Lw2_solved.out b/test/030_applymoves/510_Lw2_solved.out new file mode 100644 index 0000000..9d468db --- /dev/null +++ b/test/030_applymoves/510_Lw2_solved.out @@ -0,0 +1 @@ +DBCAEGFH=ABCDHFGELJKI=G diff --git a/test/030_applymoves/511_Lw3_solved.in b/test/030_applymoves/511_Lw3_solved.in new file mode 100644 index 0000000..94b1333 --- /dev/null +++ b/test/030_applymoves/511_Lw3_solved.in @@ -0,0 +1,2 @@ +Lw3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/511_Lw3_solved.out b/test/030_applymoves/511_Lw3_solved.out new file mode 100644 index 0000000..d4f17bb --- /dev/null +++ b/test/030_applymoves/511_Lw3_solved.out @@ -0,0 +1 @@ +VBCWELIH=ABCDLFGIEJKH=Q diff --git a/test/030_applymoves/512_Fw_solved.in b/test/030_applymoves/512_Fw_solved.in new file mode 100644 index 0000000..179dab4 --- /dev/null +++ b/test/030_applymoves/512_Fw_solved.in @@ -0,0 +1,2 @@ +Fw +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/512_Fw_solved.out b/test/030_applymoves/512_Fw_solved.out new file mode 100644 index 0000000..966f275 --- /dev/null +++ b/test/030_applymoves/512_Fw_solved.out @@ -0,0 +1 @@ +ANCPETGR=AbaDEFGHIJRS=M diff --git a/test/030_applymoves/513_Fw2_solved.in b/test/030_applymoves/513_Fw2_solved.in new file mode 100644 index 0000000..94fd724 --- /dev/null +++ b/test/030_applymoves/513_Fw2_solved.in @@ -0,0 +1,2 @@ +Fw2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/513_Fw2_solved.out b/test/030_applymoves/513_Fw2_solved.out new file mode 100644 index 0000000..06c3560 --- /dev/null +++ b/test/030_applymoves/513_Fw2_solved.out @@ -0,0 +1 @@ +ADCBEHGF=ACBDEFGHIJLK=E diff --git a/test/030_applymoves/514_Fw3_solved.in b/test/030_applymoves/514_Fw3_solved.in new file mode 100644 index 0000000..5287f6a --- /dev/null +++ b/test/030_applymoves/514_Fw3_solved.in @@ -0,0 +1,2 @@ +Fw3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/514_Fw3_solved.out b/test/030_applymoves/514_Fw3_solved.out new file mode 100644 index 0000000..659a09e --- /dev/null +++ b/test/030_applymoves/514_Fw3_solved.out @@ -0,0 +1 @@ +APCNERGT=AabDEFGHIJSR=I diff --git a/test/030_applymoves/515_Bw_solved.in b/test/030_applymoves/515_Bw_solved.in new file mode 100644 index 0000000..13eac57 --- /dev/null +++ b/test/030_applymoves/515_Bw_solved.in @@ -0,0 +1,2 @@ +Bw +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/515_Bw_solved.out b/test/030_applymoves/515_Bw_solved.out new file mode 100644 index 0000000..28af170 --- /dev/null +++ b/test/030_applymoves/515_Bw_solved.out @@ -0,0 +1 @@ +MBODSFQH=ZBCYEFGHQTKL=I diff --git a/test/030_applymoves/516_Bw2_solved.in b/test/030_applymoves/516_Bw2_solved.in new file mode 100644 index 0000000..989ad7c --- /dev/null +++ b/test/030_applymoves/516_Bw2_solved.in @@ -0,0 +1,2 @@ +Bw2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/516_Bw2_solved.out b/test/030_applymoves/516_Bw2_solved.out new file mode 100644 index 0000000..43b400d --- /dev/null +++ b/test/030_applymoves/516_Bw2_solved.out @@ -0,0 +1 @@ +CBADGFEH=DBCAEFGHJIKL=E diff --git a/test/030_applymoves/517_Bw3_solved.in b/test/030_applymoves/517_Bw3_solved.in new file mode 100644 index 0000000..a53c4e9 --- /dev/null +++ b/test/030_applymoves/517_Bw3_solved.in @@ -0,0 +1,2 @@ +Bw3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/517_Bw3_solved.out b/test/030_applymoves/517_Bw3_solved.out new file mode 100644 index 0000000..e10aaf5 --- /dev/null +++ b/test/030_applymoves/517_Bw3_solved.out @@ -0,0 +1 @@ +OBMDQFSH=YBCZEFGHTQKL=M diff --git a/test/030_applymoves/518_M_solved.in b/test/030_applymoves/518_M_solved.in new file mode 100644 index 0000000..599d8ff --- /dev/null +++ b/test/030_applymoves/518_M_solved.in @@ -0,0 +1,2 @@ +M +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/518_M_solved.out b/test/030_applymoves/518_M_solved.out new file mode 100644 index 0000000..6b28216 --- /dev/null +++ b/test/030_applymoves/518_M_solved.out @@ -0,0 +1 @@ +WUXVKILJ=ABCDIJKLHGFE=W diff --git a/test/030_applymoves/519_M2_solved.in b/test/030_applymoves/519_M2_solved.in new file mode 100644 index 0000000..d0479b8 --- /dev/null +++ b/test/030_applymoves/519_M2_solved.in @@ -0,0 +1,2 @@ +M2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/519_M2_solved.out b/test/030_applymoves/519_M2_solved.out new file mode 100644 index 0000000..e28cb4e --- /dev/null +++ b/test/030_applymoves/519_M2_solved.out @@ -0,0 +1 @@ +DCBAHGFE=ABCDHGFELKJI=G diff --git a/test/030_applymoves/520_M3_solved.in b/test/030_applymoves/520_M3_solved.in new file mode 100644 index 0000000..32bff5a --- /dev/null +++ b/test/030_applymoves/520_M3_solved.in @@ -0,0 +1,2 @@ +M3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/520_M3_solved.out b/test/030_applymoves/520_M3_solved.out new file mode 100644 index 0000000..1d47a15 --- /dev/null +++ b/test/030_applymoves/520_M3_solved.out @@ -0,0 +1 @@ +VXUWJLIK=ABCDLKJIEFGH=Q diff --git a/test/030_applymoves/521_S_solved.in b/test/030_applymoves/521_S_solved.in new file mode 100644 index 0000000..9e08bff --- /dev/null +++ b/test/030_applymoves/521_S_solved.in @@ -0,0 +1,2 @@ +S +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/521_S_solved.out b/test/030_applymoves/521_S_solved.out new file mode 100644 index 0000000..74b55a2 --- /dev/null +++ b/test/030_applymoves/521_S_solved.out @@ -0,0 +1 @@ +ONMPQTSR=YbaZEFGHTQRS=M diff --git a/test/030_applymoves/522_S2_solved.in b/test/030_applymoves/522_S2_solved.in new file mode 100644 index 0000000..49818d0 --- /dev/null +++ b/test/030_applymoves/522_S2_solved.in @@ -0,0 +1,2 @@ +S2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/522_S2_solved.out b/test/030_applymoves/522_S2_solved.out new file mode 100644 index 0000000..85245c3 --- /dev/null +++ b/test/030_applymoves/522_S2_solved.out @@ -0,0 +1 @@ +CDABGHEF=DCBAEFGHJILK=E diff --git a/test/030_applymoves/523_S3_solved.in b/test/030_applymoves/523_S3_solved.in new file mode 100644 index 0000000..3cdc3d6 --- /dev/null +++ b/test/030_applymoves/523_S3_solved.in @@ -0,0 +1,2 @@ +S3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/523_S3_solved.out b/test/030_applymoves/523_S3_solved.out new file mode 100644 index 0000000..ac53534 --- /dev/null +++ b/test/030_applymoves/523_S3_solved.out @@ -0,0 +1 @@ +MPONSRQT=ZabYEFGHQTSR=I diff --git a/test/030_applymoves/524_E_solved.in b/test/030_applymoves/524_E_solved.in new file mode 100644 index 0000000..03b48ef --- /dev/null +++ b/test/030_applymoves/524_E_solved.in @@ -0,0 +1,2 @@ +E +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/524_E_solved.out b/test/030_applymoves/524_E_solved.out new file mode 100644 index 0000000..54fcf98 --- /dev/null +++ b/test/030_applymoves/524_E_solved.out @@ -0,0 +1 @@ +FEGHABDC=EFGHBADCIJKL=D diff --git a/test/030_applymoves/525_E2_solved.in b/test/030_applymoves/525_E2_solved.in new file mode 100644 index 0000000..faee27c --- /dev/null +++ b/test/030_applymoves/525_E2_solved.in @@ -0,0 +1,2 @@ +E2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/525_E2_solved.out b/test/030_applymoves/525_E2_solved.out new file mode 100644 index 0000000..330a390 --- /dev/null +++ b/test/030_applymoves/525_E2_solved.out @@ -0,0 +1 @@ +BADCFEHG=BADCFEHGIJKL=C diff --git a/test/030_applymoves/526_E3_solved.in b/test/030_applymoves/526_E3_solved.in new file mode 100644 index 0000000..17fa78d --- /dev/null +++ b/test/030_applymoves/526_E3_solved.in @@ -0,0 +1,2 @@ +E3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/526_E3_solved.out b/test/030_applymoves/526_E3_solved.out new file mode 100644 index 0000000..cb55358 --- /dev/null +++ b/test/030_applymoves/526_E3_solved.out @@ -0,0 +1 @@ +EFHGBACD=FEHGABCDIJKL=B diff --git a/test/030_applymoves/527_x_solved.in b/test/030_applymoves/527_x_solved.in new file mode 100644 index 0000000..f26b8c5 --- /dev/null +++ b/test/030_applymoves/527_x_solved.in @@ -0,0 +1,2 @@ +x +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/527_x_solved.out b/test/030_applymoves/527_x_solved.out new file mode 100644 index 0000000..29fefad --- /dev/null +++ b/test/030_applymoves/527_x_solved.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=Q diff --git a/test/030_applymoves/528_x2_solved.in b/test/030_applymoves/528_x2_solved.in new file mode 100644 index 0000000..c538316 --- /dev/null +++ b/test/030_applymoves/528_x2_solved.in @@ -0,0 +1,2 @@ +x2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/528_x2_solved.out b/test/030_applymoves/528_x2_solved.out new file mode 100644 index 0000000..cebf79a --- /dev/null +++ b/test/030_applymoves/528_x2_solved.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=G diff --git a/test/030_applymoves/529_x3_solved.in b/test/030_applymoves/529_x3_solved.in new file mode 100644 index 0000000..cc314b4 --- /dev/null +++ b/test/030_applymoves/529_x3_solved.in @@ -0,0 +1,2 @@ +x3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/529_x3_solved.out b/test/030_applymoves/529_x3_solved.out new file mode 100644 index 0000000..2449874 --- /dev/null +++ b/test/030_applymoves/529_x3_solved.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=W diff --git a/test/030_applymoves/530_y_solved.in b/test/030_applymoves/530_y_solved.in new file mode 100644 index 0000000..07ec332 --- /dev/null +++ b/test/030_applymoves/530_y_solved.in @@ -0,0 +1,2 @@ +y +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/530_y_solved.out b/test/030_applymoves/530_y_solved.out new file mode 100644 index 0000000..4749dd6 --- /dev/null +++ b/test/030_applymoves/530_y_solved.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=B diff --git a/test/030_applymoves/531_y2_solved.in b/test/030_applymoves/531_y2_solved.in new file mode 100644 index 0000000..a77c990 --- /dev/null +++ b/test/030_applymoves/531_y2_solved.in @@ -0,0 +1,2 @@ +y2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/531_y2_solved.out b/test/030_applymoves/531_y2_solved.out new file mode 100644 index 0000000..c876a74 --- /dev/null +++ b/test/030_applymoves/531_y2_solved.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=C diff --git a/test/030_applymoves/532_y3_solved.in b/test/030_applymoves/532_y3_solved.in new file mode 100644 index 0000000..d52024c --- /dev/null +++ b/test/030_applymoves/532_y3_solved.in @@ -0,0 +1,2 @@ +y3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/532_y3_solved.out b/test/030_applymoves/532_y3_solved.out new file mode 100644 index 0000000..3a5afc2 --- /dev/null +++ b/test/030_applymoves/532_y3_solved.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=D diff --git a/test/030_applymoves/533_z_solved.in b/test/030_applymoves/533_z_solved.in new file mode 100644 index 0000000..af78379 --- /dev/null +++ b/test/030_applymoves/533_z_solved.in @@ -0,0 +1,2 @@ +z +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/533_z_solved.out b/test/030_applymoves/533_z_solved.out new file mode 100644 index 0000000..9267695 --- /dev/null +++ b/test/030_applymoves/533_z_solved.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=M diff --git a/test/030_applymoves/534_z2_solved.in b/test/030_applymoves/534_z2_solved.in new file mode 100644 index 0000000..2f702a1 --- /dev/null +++ b/test/030_applymoves/534_z2_solved.in @@ -0,0 +1,2 @@ +z2 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/534_z2_solved.out b/test/030_applymoves/534_z2_solved.out new file mode 100644 index 0000000..94daec7 --- /dev/null +++ b/test/030_applymoves/534_z2_solved.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=E diff --git a/test/030_applymoves/535_z3_solved.in b/test/030_applymoves/535_z3_solved.in new file mode 100644 index 0000000..f697279 --- /dev/null +++ b/test/030_applymoves/535_z3_solved.in @@ -0,0 +1,2 @@ +z3 +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/535_z3_solved.out b/test/030_applymoves/535_z3_solved.out new file mode 100644 index 0000000..fd02d56 --- /dev/null +++ b/test/030_applymoves/535_z3_solved.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=I diff --git a/test/030_applymoves/550_scrambled_random.in b/test/030_applymoves/550_scrambled_random.in new file mode 100644 index 0000000..35cd8bd --- /dev/null +++ b/test/030_applymoves/550_scrambled_random.in @@ -0,0 +1,2 @@ +R2 Uw F x Bw2 M' y2 z S3 +ABCDEFGH=ABCDEFGHIJKL=F diff --git a/test/030_applymoves/550_scrambled_random.out b/test/030_applymoves/550_scrambled_random.out new file mode 100644 index 0000000..b3f81b0 --- /dev/null +++ b/test/030_applymoves/550_scrambled_random.out @@ -0,0 +1 @@ +WTCEAFJP=TXWRLKQUJVIS=C diff --git a/test/030_applymoves/559_solved_xzy.in b/test/030_applymoves/559_solved_xzy.in new file mode 100644 index 0000000..9bc374d --- /dev/null +++ b/test/030_applymoves/559_solved_xzy.in @@ -0,0 +1,2 @@ +x z y +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/559_solved_xzy.out b/test/030_applymoves/559_solved_xzy.out new file mode 100644 index 0000000..9267695 --- /dev/null +++ b/test/030_applymoves/559_solved_xzy.out @@ -0,0 +1 @@ +ABCDEFGH=ABCDEFGHIJKL=M diff --git a/test/030_applymoves/560_solved_RwS.in b/test/030_applymoves/560_solved_RwS.in new file mode 100644 index 0000000..8ae51a9 --- /dev/null +++ b/test/030_applymoves/560_solved_RwS.in @@ -0,0 +1,2 @@ +Rw S +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/560_solved_RwS.out b/test/030_applymoves/560_solved_RwS.out new file mode 100644 index 0000000..c33d2a6 --- /dev/null +++ b/test/030_applymoves/560_solved_RwS.out @@ -0,0 +1 @@ +FJGKAXDU=EKJHBADCIFGL=N diff --git a/test/030_applymoves/561_solved_RwSE3.in b/test/030_applymoves/561_solved_RwSE3.in new file mode 100644 index 0000000..f75c1ef --- /dev/null +++ b/test/030_applymoves/561_solved_RwSE3.in @@ -0,0 +1,2 @@ +Rw S E' +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/561_solved_RwSE3.out b/test/030_applymoves/561_solved_RwSE3.out new file mode 100644 index 0000000..4b27b9a --- /dev/null +++ b/test/030_applymoves/561_solved_RwSE3.out @@ -0,0 +1 @@ +TQMPONSR=EKJHIFGLCDAB=M diff --git a/test/030_applymoves/569_returns_to_noreorient.in b/test/030_applymoves/569_returns_to_noreorient.in new file mode 100644 index 0000000..9e51d26 --- /dev/null +++ b/test/030_applymoves/569_returns_to_noreorient.in @@ -0,0 +1,2 @@ +Rw S L2 D E' Bw +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/569_returns_to_noreorient.out b/test/030_applymoves/569_returns_to_noreorient.out new file mode 100644 index 0000000..9e419e8 --- /dev/null +++ b/test/030_applymoves/569_returns_to_noreorient.out @@ -0,0 +1 @@ +WQEFHDBS=TJKWCFLBUXAI=A diff --git a/test/030_applymoves/600_niss_solved.in b/test/030_applymoves/600_niss_solved.in new file mode 100644 index 0000000..7228e69 --- /dev/null +++ b/test/030_applymoves/600_niss_solved.in @@ -0,0 +1,2 @@ +R U R (F L F) +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/600_niss_solved.out b/test/030_applymoves/600_niss_solved.out new file mode 100644 index 0000000..b184385 --- /dev/null +++ b/test/030_applymoves/600_niss_solved.out @@ -0,0 +1 @@ +DGEAHSFJ=JQCWHDKELIFB=A diff --git a/test/030_applymoves/601_niss_solved_widenormal.in b/test/030_applymoves/601_niss_solved_widenormal.in new file mode 100644 index 0000000..983a345 --- /dev/null +++ b/test/030_applymoves/601_niss_solved_widenormal.in @@ -0,0 +1,2 @@ +Rw Uw' (F L F) +ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_applymoves/601_niss_solved_widenormal.out b/test/030_applymoves/601_niss_solved_widenormal.out new file mode 100644 index 0000000..85805f3 --- /dev/null +++ b/test/030_applymoves/601_niss_solved_widenormal.out @@ -0,0 +1 @@ +CUWNQRPT=DabWEFIHJQSR=T diff --git a/test/030_applymoves/602_scrambled_niss_1x3.in b/test/030_applymoves/602_scrambled_niss_1x3.in new file mode 100644 index 0000000..dc75db5 --- /dev/null +++ b/test/030_applymoves/602_scrambled_niss_1x3.in @@ -0,0 +1,2 @@ +R (F) +FECDABGH=EFCDBAGHIJKL=A diff --git a/test/030_applymoves/602_scrambled_niss_1x3.out b/test/030_applymoves/602_scrambled_niss_1x3.out new file mode 100644 index 0000000..1574617 --- /dev/null +++ b/test/030_applymoves/602_scrambled_niss_1x3.out @@ -0,0 +1 @@ +KQMRONLH=EFCZTYGLHQKB=A diff --git a/test/030_applymoves/603_scrambled_long_niss.in b/test/030_applymoves/603_scrambled_long_niss.in new file mode 100644 index 0000000..2af5854 --- /dev/null +++ b/test/030_applymoves/603_scrambled_long_niss.in @@ -0,0 +1,3 @@ +R U R (B D2 F') +LFWBCAEH=QSabHBIFJWDU=A +// scrambled cube: "R U R F D B2 L F D' B3" diff --git a/test/030_applymoves/603_scrambled_long_niss.out b/test/030_applymoves/603_scrambled_long_niss.out new file mode 100644 index 0000000..89552d1 --- /dev/null +++ b/test/030_applymoves/603_scrambled_long_niss.out @@ -0,0 +1 @@ +ADXJKNMG=TaYBFJQGUXCL=A diff --git a/test/030_applymoves/604_scrambled_niss_extendedmoves.in b/test/030_applymoves/604_scrambled_niss_extendedmoves.in new file mode 100644 index 0000000..a51e4b7 --- /dev/null +++ b/test/030_applymoves/604_scrambled_niss_extendedmoves.in @@ -0,0 +1,3 @@ +M y2 F E (Bw D2 Fw' z2) +LFWBCAEH=QSabHBIFJWDU=A +// scrambled cube: "R U R F D B2 L F D' B3" diff --git a/test/030_applymoves/604_scrambled_niss_extendedmoves.out b/test/030_applymoves/604_scrambled_niss_extendedmoves.out new file mode 100644 index 0000000..fa47221 --- /dev/null +++ b/test/030_applymoves/604_scrambled_niss_extendedmoves.out @@ -0,0 +1 @@ +EPNOACTJ=WXLDQVZCRYaE=V diff --git a/test/030_applymoves/applymoves_tests.c b/test/030_applymoves/applymoves_tests.c new file mode 100644 index 0000000..98c9592 --- /dev/null +++ b/test/030_applymoves/applymoves_tests.c @@ -0,0 +1,23 @@ +#include "../test.h" + +oriented_cube_t applymoves(oriented_cube_t, char *); + +void run(void) { + char movestr[STRLENMAX], cubestr[STRLENMAX]; + oriented_cube_t cube; + + fgets(movestr, STRLENMAX, stdin); + fgets(cubestr, STRLENMAX, stdin); + cube = readcube(cubestr); + + cube = applymoves(cube, movestr); + + if (iserror(cube)) { + printf("Error moving cube\n"); + } else if (!issolvable(cube)) { + printf("Moved cube is not solvable\n"); + } else { + writecube(cube, NISSY_SIZE_CUBE, cubestr); + printf("%s\n", cubestr); + } +} diff --git a/test/030_move/000_nomove_solved.in b/test/030_move/000_nomove_solved.in deleted file mode 100644 index 149c123..0000000 --- a/test/030_move/000_nomove_solved.in +++ /dev/null @@ -1,2 +0,0 @@ - -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/000_nomove_solved.out b/test/030_move/000_nomove_solved.out deleted file mode 100644 index 5aa6ba7..0000000 --- a/test/030_move/000_nomove_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/001_nomove_scrambled.in b/test/030_move/001_nomove_scrambled.in deleted file mode 100644 index 700d45f..0000000 --- a/test/030_move/001_nomove_scrambled.in +++ /dev/null @@ -1,2 +0,0 @@ - -BLMWANPC=LTWIRXAEFZKS=A diff --git a/test/030_move/001_nomove_scrambled.out b/test/030_move/001_nomove_scrambled.out deleted file mode 100644 index d1fc648..0000000 --- a/test/030_move/001_nomove_scrambled.out +++ /dev/null @@ -1 +0,0 @@ -BLMWANPC=LTWIRXAEFZKS=A diff --git a/test/030_move/010_U_solved.in b/test/030_move/010_U_solved.in deleted file mode 100644 index 3c87da7..0000000 --- a/test/030_move/010_U_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -U -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/010_U_solved.out b/test/030_move/010_U_solved.out deleted file mode 100644 index 250d3a1..0000000 --- a/test/030_move/010_U_solved.out +++ /dev/null @@ -1 +0,0 @@ -FECDABGH=EFCDBAGHIJKL=A diff --git a/test/030_move/011_U_scrambled.in b/test/030_move/011_U_scrambled.in deleted file mode 100644 index 7245f4e..0000000 --- a/test/030_move/011_U_scrambled.in +++ /dev/null @@ -1,2 +0,0 @@ -U -BLMWANPC=LTWIRXAEFZKS=A diff --git a/test/030_move/011_U_scrambled.out b/test/030_move/011_U_scrambled.out deleted file mode 100644 index fb9b6c9..0000000 --- a/test/030_move/011_U_scrambled.out +++ /dev/null @@ -1 +0,0 @@ -NAMWBLPC=RXWITLAEFZKS=A diff --git a/test/030_move/012_U_inverse.in b/test/030_move/012_U_inverse.in deleted file mode 100644 index 4a41554..0000000 --- a/test/030_move/012_U_inverse.in +++ /dev/null @@ -1,2 +0,0 @@ -U -EFCDBAGH=FECDABGHIJKL=A diff --git a/test/030_move/012_U_inverse.out b/test/030_move/012_U_inverse.out deleted file mode 100644 index 5aa6ba7..0000000 --- a/test/030_move/012_U_inverse.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/020_U2_solved.in b/test/030_move/020_U2_solved.in deleted file mode 100644 index a261a22..0000000 --- a/test/030_move/020_U2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -U2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/020_U2_solved.out b/test/030_move/020_U2_solved.out deleted file mode 100644 index b14792e..0000000 --- a/test/030_move/020_U2_solved.out +++ /dev/null @@ -1 +0,0 @@ -BACDFEGH=BACDFEGHIJKL=A diff --git a/test/030_move/021_U2_scrambled.in b/test/030_move/021_U2_scrambled.in deleted file mode 100644 index 5e7fab6..0000000 --- a/test/030_move/021_U2_scrambled.in +++ /dev/null @@ -1,2 +0,0 @@ -U2 -BLMWANPC=LTWIRXAEFZKS=A diff --git a/test/030_move/021_U2_scrambled.out b/test/030_move/021_U2_scrambled.out deleted file mode 100644 index c95806f..0000000 --- a/test/030_move/021_U2_scrambled.out +++ /dev/null @@ -1 +0,0 @@ -LBMWNAPC=TLWIXRAEFZKS=A diff --git a/test/030_move/022_U2_inverse.in b/test/030_move/022_U2_inverse.in deleted file mode 100644 index 071ab85..0000000 --- a/test/030_move/022_U2_inverse.in +++ /dev/null @@ -1,2 +0,0 @@ -U2 -BACDFEGH=BACDFEGHIJKL=A diff --git a/test/030_move/022_U2_inverse.out b/test/030_move/022_U2_inverse.out deleted file mode 100644 index 5aa6ba7..0000000 --- a/test/030_move/022_U2_inverse.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/030_U3_solved.in b/test/030_move/030_U3_solved.in deleted file mode 100644 index 42bfad7..0000000 --- a/test/030_move/030_U3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -U3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/030_U3_solved.out b/test/030_move/030_U3_solved.out deleted file mode 100644 index 111ba2b..0000000 --- a/test/030_move/030_U3_solved.out +++ /dev/null @@ -1 +0,0 @@ -EFCDBAGH=FECDABGHIJKL=A diff --git a/test/030_move/031_U3_inverse.in b/test/030_move/031_U3_inverse.in deleted file mode 100644 index 50788bd..0000000 --- a/test/030_move/031_U3_inverse.in +++ /dev/null @@ -1,2 +0,0 @@ -U3 -FECDABGH=EFCDBAGHIJKL=A diff --git a/test/030_move/031_U3_inverse.out b/test/030_move/031_U3_inverse.out deleted file mode 100644 index 5aa6ba7..0000000 --- a/test/030_move/031_U3_inverse.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/032_U3_scrambled.in b/test/030_move/032_U3_scrambled.in deleted file mode 100644 index 49293ff..0000000 --- a/test/030_move/032_U3_scrambled.in +++ /dev/null @@ -1,2 +0,0 @@ -U3 -VKELRGXI=QLWUYJFaHTCB=A diff --git a/test/030_move/032_U3_scrambled.out b/test/030_move/032_U3_scrambled.out deleted file mode 100644 index 80862a2..0000000 --- a/test/030_move/032_U3_scrambled.out +++ /dev/null @@ -1 +0,0 @@ -RGELKVXI=JYWUQLFaHTCB=A diff --git a/test/030_move/033_U3_with_prime.in b/test/030_move/033_U3_with_prime.in deleted file mode 100644 index 7c16119..0000000 --- a/test/030_move/033_U3_with_prime.in +++ /dev/null @@ -1,2 +0,0 @@ -U' -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/033_U3_with_prime.out b/test/030_move/033_U3_with_prime.out deleted file mode 100644 index 111ba2b..0000000 --- a/test/030_move/033_U3_with_prime.out +++ /dev/null @@ -1 +0,0 @@ -EFCDBAGH=FECDABGHIJKL=A diff --git a/test/030_move/040_D_solved.in b/test/030_move/040_D_solved.in deleted file mode 100644 index adc471e..0000000 --- a/test/030_move/040_D_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -D -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/040_D_solved.out b/test/030_move/040_D_solved.out deleted file mode 100644 index ffcea5d..0000000 --- a/test/030_move/040_D_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABHGEFCD=ABHGEFCDIJKL=A diff --git a/test/030_move/050_D2_solved.in b/test/030_move/050_D2_solved.in deleted file mode 100644 index 0696727..0000000 --- a/test/030_move/050_D2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -D2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/050_D2_solved.out b/test/030_move/050_D2_solved.out deleted file mode 100644 index f872210..0000000 --- a/test/030_move/050_D2_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABDCEFHG=ABDCEFHGIJKL=A diff --git a/test/030_move/060_D3_solved.in b/test/030_move/060_D3_solved.in deleted file mode 100644 index 867183d..0000000 --- a/test/030_move/060_D3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -D3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/060_D3_solved.out b/test/030_move/060_D3_solved.out deleted file mode 100644 index acd829c..0000000 --- a/test/030_move/060_D3_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABGHEFDC=ABGHEFDCIJKL=A diff --git a/test/030_move/070_R_solved.in b/test/030_move/070_R_solved.in deleted file mode 100644 index e164209..0000000 --- a/test/030_move/070_R_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -R -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/070_R_solved.out b/test/030_move/070_R_solved.out deleted file mode 100644 index 1be2e89..0000000 --- a/test/030_move/070_R_solved.out +++ /dev/null @@ -1 +0,0 @@ -WBCVEILH=ABCDIFGLHJKE=A diff --git a/test/030_move/071_R_scrambled.in b/test/030_move/071_R_scrambled.in deleted file mode 100644 index 4134942..0000000 --- a/test/030_move/071_R_scrambled.in +++ /dev/null @@ -1,2 +0,0 @@ -R -VKELRGXI=QLWUYJFaHTCB=A diff --git a/test/030_move/071_R_scrambled.out b/test/030_move/071_R_scrambled.out deleted file mode 100644 index 1711b22..0000000 --- a/test/030_move/071_R_scrambled.out +++ /dev/null @@ -1 +0,0 @@ -PKEWRFTI=QLWUHJFBaTCY=A diff --git a/test/030_move/080_R2_solved.in b/test/030_move/080_R2_solved.in deleted file mode 100644 index 25b0b10..0000000 --- a/test/030_move/080_R2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -R2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/080_R2_solved.out b/test/030_move/080_R2_solved.out deleted file mode 100644 index 6611740..0000000 --- a/test/030_move/080_R2_solved.out +++ /dev/null @@ -1 +0,0 @@ -DBCAEGFH=ABCDHFGELJKI=A diff --git a/test/030_move/090_R3_solved.in b/test/030_move/090_R3_solved.in deleted file mode 100644 index ffab472..0000000 --- a/test/030_move/090_R3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -R3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/090_R3_solved.out b/test/030_move/090_R3_solved.out deleted file mode 100644 index a14e69b..0000000 --- a/test/030_move/090_R3_solved.out +++ /dev/null @@ -1 +0,0 @@ -VBCWELIH=ABCDLFGIEJKH=A diff --git a/test/030_move/100_L_solved.in b/test/030_move/100_L_solved.in deleted file mode 100644 index e47b8ff..0000000 --- a/test/030_move/100_L_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -L -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/100_L_solved.out b/test/030_move/100_L_solved.out deleted file mode 100644 index 5aa4131..0000000 --- a/test/030_move/100_L_solved.out +++ /dev/null @@ -1 +0,0 @@ -AXUDJFGK=ABCDEKJHIFGL=A diff --git a/test/030_move/110_L2_solved.in b/test/030_move/110_L2_solved.in deleted file mode 100644 index c71e7ff..0000000 --- a/test/030_move/110_L2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -L2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/110_L2_solved.out b/test/030_move/110_L2_solved.out deleted file mode 100644 index 4fe322f..0000000 --- a/test/030_move/110_L2_solved.out +++ /dev/null @@ -1 +0,0 @@ -ACBDHFGE=ABCDEGFHIKJL=A diff --git a/test/030_move/120_L3_solved.in b/test/030_move/120_L3_solved.in deleted file mode 100644 index 7f82d91..0000000 --- a/test/030_move/120_L3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -L3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/120_L3_solved.out b/test/030_move/120_L3_solved.out deleted file mode 100644 index fbe35f3..0000000 --- a/test/030_move/120_L3_solved.out +++ /dev/null @@ -1 +0,0 @@ -AUXDKFGJ=ABCDEJKHIGFL=A diff --git a/test/030_move/130_F_solved.in b/test/030_move/130_F_solved.in deleted file mode 100644 index dcb65dc..0000000 --- a/test/030_move/130_F_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -F -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/130_F_solved.out b/test/030_move/130_F_solved.out deleted file mode 100644 index a75744c..0000000 --- a/test/030_move/130_F_solved.out +++ /dev/null @@ -1 +0,0 @@ -MBODSFQH=ZBCYEFGHQTKL=A diff --git a/test/030_move/132_F_scrambled.in b/test/030_move/132_F_scrambled.in deleted file mode 100644 index e793507..0000000 --- a/test/030_move/132_F_scrambled.in +++ /dev/null @@ -1,2 +0,0 @@ -F -APDMOKRF=WLHUDZKFIASB=A diff --git a/test/030_move/132_F_scrambled.out b/test/030_move/132_F_scrambled.out deleted file mode 100644 index 2992f71..0000000 --- a/test/030_move/132_F_scrambled.out +++ /dev/null @@ -1 +0,0 @@ -WPBMTKQF=QLHYDZKFGESB=A diff --git a/test/030_move/133_F_scrambled_2.in b/test/030_move/133_F_scrambled_2.in deleted file mode 100644 index 35af326..0000000 --- a/test/030_move/133_F_scrambled_2.in +++ /dev/null @@ -1,2 +0,0 @@ -F -VJWXDCAU=aCVDbQGZBXYU=A diff --git a/test/030_move/133_F_scrambled_2.out b/test/030_move/133_F_scrambled_2.out deleted file mode 100644 index 7fd0f96..0000000 --- a/test/030_move/133_F_scrambled_2.out +++ /dev/null @@ -1 +0,0 @@ -LJIXOCNU=HCVRbQGZKTYU=A diff --git a/test/030_move/140_F2_solved.in b/test/030_move/140_F2_solved.in deleted file mode 100644 index 9ac2bbf..0000000 --- a/test/030_move/140_F2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -F2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/140_F2_solved.out b/test/030_move/140_F2_solved.out deleted file mode 100644 index 69720be..0000000 --- a/test/030_move/140_F2_solved.out +++ /dev/null @@ -1 +0,0 @@ -CBADGFEH=DBCAEFGHJIKL=A diff --git a/test/030_move/150_F3_solved.in b/test/030_move/150_F3_solved.in deleted file mode 100644 index dbfb928..0000000 --- a/test/030_move/150_F3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -F3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/150_F3_solved.out b/test/030_move/150_F3_solved.out deleted file mode 100644 index 500d969..0000000 --- a/test/030_move/150_F3_solved.out +++ /dev/null @@ -1 +0,0 @@ -OBMDQFSH=YBCZEFGHTQKL=A diff --git a/test/030_move/160_B_solved.in b/test/030_move/160_B_solved.in deleted file mode 100644 index 25b045d..0000000 --- a/test/030_move/160_B_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -B -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/160_B_solved.out b/test/030_move/160_B_solved.out deleted file mode 100644 index 73e099a..0000000 --- a/test/030_move/160_B_solved.out +++ /dev/null @@ -1 +0,0 @@ -ANCPETGR=AbaDEFGHIJRS=A diff --git a/test/030_move/170_B2_solved.in b/test/030_move/170_B2_solved.in deleted file mode 100644 index bd25f3a..0000000 --- a/test/030_move/170_B2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -B2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/170_B2_solved.out b/test/030_move/170_B2_solved.out deleted file mode 100644 index 1021aeb..0000000 --- a/test/030_move/170_B2_solved.out +++ /dev/null @@ -1 +0,0 @@ -ADCBEHGF=ACBDEFGHIJLK=A diff --git a/test/030_move/180_B3_solved.in b/test/030_move/180_B3_solved.in deleted file mode 100644 index a38d932..0000000 --- a/test/030_move/180_B3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -B3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/180_B3_solved.out b/test/030_move/180_B3_solved.out deleted file mode 100644 index 78bd94a..0000000 --- a/test/030_move/180_B3_solved.out +++ /dev/null @@ -1 +0,0 @@ -APCNERGT=AabDEFGHIJSR=A diff --git a/test/030_move/200_scramble_solved.in b/test/030_move/200_scramble_solved.in deleted file mode 100644 index 65127d4..0000000 --- a/test/030_move/200_scramble_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -B' D' B' R2 B' R F D F2 U2 B D2 F R2 F2 L2 F L2 U2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/200_scramble_solved.out b/test/030_move/200_scramble_solved.out deleted file mode 100644 index 6d77f16..0000000 --- a/test/030_move/200_scramble_solved.out +++ /dev/null @@ -1 +0,0 @@ -CGMRLHIN=LDZBKYUFXCQW=A diff --git a/test/030_move/201_solution_scrambled.in b/test/030_move/201_solution_scrambled.in deleted file mode 100644 index e4d20b5..0000000 --- a/test/030_move/201_solution_scrambled.in +++ /dev/null @@ -1,2 +0,0 @@ -F' B' D2 U2 F2 U' L' U D B D' R2 B' L' R' D' R D L2 U' L' B L L U F U' F' U F U' F2 L' F U F U' F' U2 F2 R2 L2 B2 -CGMRLHIN=LDZBKYUFXCQW=A diff --git a/test/030_move/201_solution_scrambled.out b/test/030_move/201_solution_scrambled.out deleted file mode 100644 index 5aa6ba7..0000000 --- a/test/030_move/201_solution_scrambled.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/300_multimove_solved.in b/test/030_move/300_multimove_solved.in deleted file mode 100644 index 751602a..0000000 --- a/test/030_move/300_multimove_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -B2 D' L2 D' B2 D B2 R2 B2 D U2 R D R2 B L' B' L2 U B2 U -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/300_multimove_solved.out b/test/030_move/300_multimove_solved.out deleted file mode 100644 index d069105..0000000 --- a/test/030_move/300_multimove_solved.out +++ /dev/null @@ -1 +0,0 @@ -NOBSLXIM=RFQGJCLKDIHE=A diff --git a/test/030_move/301_multimove_scrambled.in b/test/030_move/301_multimove_scrambled.in deleted file mode 100644 index dbe14c6..0000000 --- a/test/030_move/301_multimove_scrambled.in +++ /dev/null @@ -1,2 +0,0 @@ -D2 B2 L U2 B2 L' B2 R' D2 R D2 B F L U F2 L' R' B2 U B2 -NOBSLXIM=RFQGJCLKDIHE=A diff --git a/test/030_move/301_multimove_scrambled.out b/test/030_move/301_multimove_scrambled.out deleted file mode 100644 index 9c668da..0000000 --- a/test/030_move/301_multimove_scrambled.out +++ /dev/null @@ -1 +0,0 @@ -WCHENBQL=VBWEaXLCZAYD=A diff --git a/test/030_move/500_Uw_solved.in b/test/030_move/500_Uw_solved.in deleted file mode 100644 index 3e79076..0000000 --- a/test/030_move/500_Uw_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Uw -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/500_Uw_solved.out b/test/030_move/500_Uw_solved.out deleted file mode 100644 index fc08019..0000000 --- a/test/030_move/500_Uw_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABHGEFCD=ABHGEFCDIJKL=B diff --git a/test/030_move/501_Uw2_solved.in b/test/030_move/501_Uw2_solved.in deleted file mode 100644 index fb0cf4b..0000000 --- a/test/030_move/501_Uw2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Uw2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/501_Uw2_solved.out b/test/030_move/501_Uw2_solved.out deleted file mode 100644 index eb734e6..0000000 --- a/test/030_move/501_Uw2_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABDCEFHG=ABDCEFHGIJKL=C diff --git a/test/030_move/502_Uw3_solved.in b/test/030_move/502_Uw3_solved.in deleted file mode 100644 index 3b4ebf6..0000000 --- a/test/030_move/502_Uw3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Uw3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/502_Uw3_solved.out b/test/030_move/502_Uw3_solved.out deleted file mode 100644 index 6724a49..0000000 --- a/test/030_move/502_Uw3_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABGHEFDC=ABGHEFDCIJKL=D diff --git a/test/030_move/503_Dw_solved.in b/test/030_move/503_Dw_solved.in deleted file mode 100644 index da4009e..0000000 --- a/test/030_move/503_Dw_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Dw -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/503_Dw_solved.out b/test/030_move/503_Dw_solved.out deleted file mode 100644 index f554f31..0000000 --- a/test/030_move/503_Dw_solved.out +++ /dev/null @@ -1 +0,0 @@ -FECDABGH=EFCDBAGHIJKL=D diff --git a/test/030_move/504_Dw2_solved.in b/test/030_move/504_Dw2_solved.in deleted file mode 100644 index 5e403a4..0000000 --- a/test/030_move/504_Dw2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Dw2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/504_Dw2_solved.out b/test/030_move/504_Dw2_solved.out deleted file mode 100644 index 51c13ad..0000000 --- a/test/030_move/504_Dw2_solved.out +++ /dev/null @@ -1 +0,0 @@ -BACDFEGH=BACDFEGHIJKL=C diff --git a/test/030_move/505_Dw3_solved.in b/test/030_move/505_Dw3_solved.in deleted file mode 100644 index d4a9fbb..0000000 --- a/test/030_move/505_Dw3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Dw3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/505_Dw3_solved.out b/test/030_move/505_Dw3_solved.out deleted file mode 100644 index b842e86..0000000 --- a/test/030_move/505_Dw3_solved.out +++ /dev/null @@ -1 +0,0 @@ -EFCDBAGH=FECDABGHIJKL=B diff --git a/test/030_move/506_Rw_solved.in b/test/030_move/506_Rw_solved.in deleted file mode 100644 index 4387d10..0000000 --- a/test/030_move/506_Rw_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Rw -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/506_Rw_solved.out b/test/030_move/506_Rw_solved.out deleted file mode 100644 index 853c85d..0000000 --- a/test/030_move/506_Rw_solved.out +++ /dev/null @@ -1 +0,0 @@ -AXUDJFGK=ABCDEKJHIFGL=Q diff --git a/test/030_move/507_Rw2_solved.in b/test/030_move/507_Rw2_solved.in deleted file mode 100644 index 3510315..0000000 --- a/test/030_move/507_Rw2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Rw2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/507_Rw2_solved.out b/test/030_move/507_Rw2_solved.out deleted file mode 100644 index f89caca..0000000 --- a/test/030_move/507_Rw2_solved.out +++ /dev/null @@ -1 +0,0 @@ -ACBDHFGE=ABCDEGFHIKJL=G diff --git a/test/030_move/508_Rw3_solved.in b/test/030_move/508_Rw3_solved.in deleted file mode 100644 index 69cb0b2..0000000 --- a/test/030_move/508_Rw3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Rw3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/508_Rw3_solved.out b/test/030_move/508_Rw3_solved.out deleted file mode 100644 index 38ae9a9..0000000 --- a/test/030_move/508_Rw3_solved.out +++ /dev/null @@ -1 +0,0 @@ -AUXDKFGJ=ABCDEJKHIGFL=W diff --git a/test/030_move/509_Lw_solved.in b/test/030_move/509_Lw_solved.in deleted file mode 100644 index ddd8aea..0000000 --- a/test/030_move/509_Lw_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Lw -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/509_Lw_solved.out b/test/030_move/509_Lw_solved.out deleted file mode 100644 index b588134..0000000 --- a/test/030_move/509_Lw_solved.out +++ /dev/null @@ -1 +0,0 @@ -WBCVEILH=ABCDIFGLHJKE=W diff --git a/test/030_move/510_Lw2_solved.in b/test/030_move/510_Lw2_solved.in deleted file mode 100644 index c0a00b3..0000000 --- a/test/030_move/510_Lw2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Lw2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/510_Lw2_solved.out b/test/030_move/510_Lw2_solved.out deleted file mode 100644 index 9d468db..0000000 --- a/test/030_move/510_Lw2_solved.out +++ /dev/null @@ -1 +0,0 @@ -DBCAEGFH=ABCDHFGELJKI=G diff --git a/test/030_move/511_Lw3_solved.in b/test/030_move/511_Lw3_solved.in deleted file mode 100644 index 94b1333..0000000 --- a/test/030_move/511_Lw3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Lw3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/511_Lw3_solved.out b/test/030_move/511_Lw3_solved.out deleted file mode 100644 index d4f17bb..0000000 --- a/test/030_move/511_Lw3_solved.out +++ /dev/null @@ -1 +0,0 @@ -VBCWELIH=ABCDLFGIEJKH=Q diff --git a/test/030_move/512_Fw_solved.in b/test/030_move/512_Fw_solved.in deleted file mode 100644 index 179dab4..0000000 --- a/test/030_move/512_Fw_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Fw -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/512_Fw_solved.out b/test/030_move/512_Fw_solved.out deleted file mode 100644 index 966f275..0000000 --- a/test/030_move/512_Fw_solved.out +++ /dev/null @@ -1 +0,0 @@ -ANCPETGR=AbaDEFGHIJRS=M diff --git a/test/030_move/513_Fw2_solved.in b/test/030_move/513_Fw2_solved.in deleted file mode 100644 index 94fd724..0000000 --- a/test/030_move/513_Fw2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Fw2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/513_Fw2_solved.out b/test/030_move/513_Fw2_solved.out deleted file mode 100644 index 06c3560..0000000 --- a/test/030_move/513_Fw2_solved.out +++ /dev/null @@ -1 +0,0 @@ -ADCBEHGF=ACBDEFGHIJLK=E diff --git a/test/030_move/514_Fw3_solved.in b/test/030_move/514_Fw3_solved.in deleted file mode 100644 index 5287f6a..0000000 --- a/test/030_move/514_Fw3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Fw3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/514_Fw3_solved.out b/test/030_move/514_Fw3_solved.out deleted file mode 100644 index 659a09e..0000000 --- a/test/030_move/514_Fw3_solved.out +++ /dev/null @@ -1 +0,0 @@ -APCNERGT=AabDEFGHIJSR=I diff --git a/test/030_move/515_Bw_solved.in b/test/030_move/515_Bw_solved.in deleted file mode 100644 index 13eac57..0000000 --- a/test/030_move/515_Bw_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Bw -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/515_Bw_solved.out b/test/030_move/515_Bw_solved.out deleted file mode 100644 index 28af170..0000000 --- a/test/030_move/515_Bw_solved.out +++ /dev/null @@ -1 +0,0 @@ -MBODSFQH=ZBCYEFGHQTKL=I diff --git a/test/030_move/516_Bw2_solved.in b/test/030_move/516_Bw2_solved.in deleted file mode 100644 index 989ad7c..0000000 --- a/test/030_move/516_Bw2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Bw2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/516_Bw2_solved.out b/test/030_move/516_Bw2_solved.out deleted file mode 100644 index 43b400d..0000000 --- a/test/030_move/516_Bw2_solved.out +++ /dev/null @@ -1 +0,0 @@ -CBADGFEH=DBCAEFGHJIKL=E diff --git a/test/030_move/517_Bw3_solved.in b/test/030_move/517_Bw3_solved.in deleted file mode 100644 index a53c4e9..0000000 --- a/test/030_move/517_Bw3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -Bw3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/517_Bw3_solved.out b/test/030_move/517_Bw3_solved.out deleted file mode 100644 index e10aaf5..0000000 --- a/test/030_move/517_Bw3_solved.out +++ /dev/null @@ -1 +0,0 @@ -OBMDQFSH=YBCZEFGHTQKL=M diff --git a/test/030_move/518_M_solved.in b/test/030_move/518_M_solved.in deleted file mode 100644 index 599d8ff..0000000 --- a/test/030_move/518_M_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -M -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/518_M_solved.out b/test/030_move/518_M_solved.out deleted file mode 100644 index 6b28216..0000000 --- a/test/030_move/518_M_solved.out +++ /dev/null @@ -1 +0,0 @@ -WUXVKILJ=ABCDIJKLHGFE=W diff --git a/test/030_move/519_M2_solved.in b/test/030_move/519_M2_solved.in deleted file mode 100644 index d0479b8..0000000 --- a/test/030_move/519_M2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -M2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/519_M2_solved.out b/test/030_move/519_M2_solved.out deleted file mode 100644 index e28cb4e..0000000 --- a/test/030_move/519_M2_solved.out +++ /dev/null @@ -1 +0,0 @@ -DCBAHGFE=ABCDHGFELKJI=G diff --git a/test/030_move/520_M3_solved.in b/test/030_move/520_M3_solved.in deleted file mode 100644 index 32bff5a..0000000 --- a/test/030_move/520_M3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -M3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/520_M3_solved.out b/test/030_move/520_M3_solved.out deleted file mode 100644 index 1d47a15..0000000 --- a/test/030_move/520_M3_solved.out +++ /dev/null @@ -1 +0,0 @@ -VXUWJLIK=ABCDLKJIEFGH=Q diff --git a/test/030_move/521_S_solved.in b/test/030_move/521_S_solved.in deleted file mode 100644 index 9e08bff..0000000 --- a/test/030_move/521_S_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -S -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/521_S_solved.out b/test/030_move/521_S_solved.out deleted file mode 100644 index 74b55a2..0000000 --- a/test/030_move/521_S_solved.out +++ /dev/null @@ -1 +0,0 @@ -ONMPQTSR=YbaZEFGHTQRS=M diff --git a/test/030_move/522_S2_solved.in b/test/030_move/522_S2_solved.in deleted file mode 100644 index 49818d0..0000000 --- a/test/030_move/522_S2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -S2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/522_S2_solved.out b/test/030_move/522_S2_solved.out deleted file mode 100644 index 85245c3..0000000 --- a/test/030_move/522_S2_solved.out +++ /dev/null @@ -1 +0,0 @@ -CDABGHEF=DCBAEFGHJILK=E diff --git a/test/030_move/523_S3_solved.in b/test/030_move/523_S3_solved.in deleted file mode 100644 index 3cdc3d6..0000000 --- a/test/030_move/523_S3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -S3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/523_S3_solved.out b/test/030_move/523_S3_solved.out deleted file mode 100644 index ac53534..0000000 --- a/test/030_move/523_S3_solved.out +++ /dev/null @@ -1 +0,0 @@ -MPONSRQT=ZabYEFGHQTSR=I diff --git a/test/030_move/524_E_solved.in b/test/030_move/524_E_solved.in deleted file mode 100644 index 03b48ef..0000000 --- a/test/030_move/524_E_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -E -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/524_E_solved.out b/test/030_move/524_E_solved.out deleted file mode 100644 index 54fcf98..0000000 --- a/test/030_move/524_E_solved.out +++ /dev/null @@ -1 +0,0 @@ -FEGHABDC=EFGHBADCIJKL=D diff --git a/test/030_move/525_E2_solved.in b/test/030_move/525_E2_solved.in deleted file mode 100644 index faee27c..0000000 --- a/test/030_move/525_E2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -E2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/525_E2_solved.out b/test/030_move/525_E2_solved.out deleted file mode 100644 index 330a390..0000000 --- a/test/030_move/525_E2_solved.out +++ /dev/null @@ -1 +0,0 @@ -BADCFEHG=BADCFEHGIJKL=C diff --git a/test/030_move/526_E3_solved.in b/test/030_move/526_E3_solved.in deleted file mode 100644 index 17fa78d..0000000 --- a/test/030_move/526_E3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -E3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/526_E3_solved.out b/test/030_move/526_E3_solved.out deleted file mode 100644 index cb55358..0000000 --- a/test/030_move/526_E3_solved.out +++ /dev/null @@ -1 +0,0 @@ -EFHGBACD=FEHGABCDIJKL=B diff --git a/test/030_move/527_x_solved.in b/test/030_move/527_x_solved.in deleted file mode 100644 index f26b8c5..0000000 --- a/test/030_move/527_x_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -x -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/527_x_solved.out b/test/030_move/527_x_solved.out deleted file mode 100644 index 29fefad..0000000 --- a/test/030_move/527_x_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=Q diff --git a/test/030_move/528_x2_solved.in b/test/030_move/528_x2_solved.in deleted file mode 100644 index c538316..0000000 --- a/test/030_move/528_x2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -x2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/528_x2_solved.out b/test/030_move/528_x2_solved.out deleted file mode 100644 index cebf79a..0000000 --- a/test/030_move/528_x2_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=G diff --git a/test/030_move/529_x3_solved.in b/test/030_move/529_x3_solved.in deleted file mode 100644 index cc314b4..0000000 --- a/test/030_move/529_x3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -x3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/529_x3_solved.out b/test/030_move/529_x3_solved.out deleted file mode 100644 index 2449874..0000000 --- a/test/030_move/529_x3_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=W diff --git a/test/030_move/530_y_solved.in b/test/030_move/530_y_solved.in deleted file mode 100644 index 07ec332..0000000 --- a/test/030_move/530_y_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -y -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/530_y_solved.out b/test/030_move/530_y_solved.out deleted file mode 100644 index 4749dd6..0000000 --- a/test/030_move/530_y_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=B diff --git a/test/030_move/531_y2_solved.in b/test/030_move/531_y2_solved.in deleted file mode 100644 index a77c990..0000000 --- a/test/030_move/531_y2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -y2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/531_y2_solved.out b/test/030_move/531_y2_solved.out deleted file mode 100644 index c876a74..0000000 --- a/test/030_move/531_y2_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=C diff --git a/test/030_move/532_y3_solved.in b/test/030_move/532_y3_solved.in deleted file mode 100644 index d52024c..0000000 --- a/test/030_move/532_y3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -y3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/532_y3_solved.out b/test/030_move/532_y3_solved.out deleted file mode 100644 index 3a5afc2..0000000 --- a/test/030_move/532_y3_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=D diff --git a/test/030_move/533_z_solved.in b/test/030_move/533_z_solved.in deleted file mode 100644 index af78379..0000000 --- a/test/030_move/533_z_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -z -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/533_z_solved.out b/test/030_move/533_z_solved.out deleted file mode 100644 index 9267695..0000000 --- a/test/030_move/533_z_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=M diff --git a/test/030_move/534_z2_solved.in b/test/030_move/534_z2_solved.in deleted file mode 100644 index 2f702a1..0000000 --- a/test/030_move/534_z2_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -z2 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/534_z2_solved.out b/test/030_move/534_z2_solved.out deleted file mode 100644 index 94daec7..0000000 --- a/test/030_move/534_z2_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=E diff --git a/test/030_move/535_z3_solved.in b/test/030_move/535_z3_solved.in deleted file mode 100644 index f697279..0000000 --- a/test/030_move/535_z3_solved.in +++ /dev/null @@ -1,2 +0,0 @@ -z3 -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/535_z3_solved.out b/test/030_move/535_z3_solved.out deleted file mode 100644 index fd02d56..0000000 --- a/test/030_move/535_z3_solved.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=I diff --git a/test/030_move/550_scrambled_random.in b/test/030_move/550_scrambled_random.in deleted file mode 100644 index 35cd8bd..0000000 --- a/test/030_move/550_scrambled_random.in +++ /dev/null @@ -1,2 +0,0 @@ -R2 Uw F x Bw2 M' y2 z S3 -ABCDEFGH=ABCDEFGHIJKL=F diff --git a/test/030_move/550_scrambled_random.out b/test/030_move/550_scrambled_random.out deleted file mode 100644 index b3f81b0..0000000 --- a/test/030_move/550_scrambled_random.out +++ /dev/null @@ -1 +0,0 @@ -WTCEAFJP=TXWRLKQUJVIS=C diff --git a/test/030_move/559_solved_xzy.in b/test/030_move/559_solved_xzy.in deleted file mode 100644 index 9bc374d..0000000 --- a/test/030_move/559_solved_xzy.in +++ /dev/null @@ -1,2 +0,0 @@ -x z y -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/559_solved_xzy.out b/test/030_move/559_solved_xzy.out deleted file mode 100644 index 9267695..0000000 --- a/test/030_move/559_solved_xzy.out +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGH=ABCDEFGHIJKL=M diff --git a/test/030_move/560_solved_RwS.in b/test/030_move/560_solved_RwS.in deleted file mode 100644 index 8ae51a9..0000000 --- a/test/030_move/560_solved_RwS.in +++ /dev/null @@ -1,2 +0,0 @@ -Rw S -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/560_solved_RwS.out b/test/030_move/560_solved_RwS.out deleted file mode 100644 index c33d2a6..0000000 --- a/test/030_move/560_solved_RwS.out +++ /dev/null @@ -1 +0,0 @@ -FJGKAXDU=EKJHBADCIFGL=N diff --git a/test/030_move/561_solved_RwSE3.in b/test/030_move/561_solved_RwSE3.in deleted file mode 100644 index f75c1ef..0000000 --- a/test/030_move/561_solved_RwSE3.in +++ /dev/null @@ -1,2 +0,0 @@ -Rw S E' -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/561_solved_RwSE3.out b/test/030_move/561_solved_RwSE3.out deleted file mode 100644 index 4b27b9a..0000000 --- a/test/030_move/561_solved_RwSE3.out +++ /dev/null @@ -1 +0,0 @@ -TQMPONSR=EKJHIFGLCDAB=M diff --git a/test/030_move/569_returns_to_noreorient.in b/test/030_move/569_returns_to_noreorient.in deleted file mode 100644 index 9e51d26..0000000 --- a/test/030_move/569_returns_to_noreorient.in +++ /dev/null @@ -1,2 +0,0 @@ -Rw S L2 D E' Bw -ABCDEFGH=ABCDEFGHIJKL=A diff --git a/test/030_move/569_returns_to_noreorient.out b/test/030_move/569_returns_to_noreorient.out deleted file mode 100644 index 9e419e8..0000000 --- a/test/030_move/569_returns_to_noreorient.out +++ /dev/null @@ -1 +0,0 @@ -WQEFHDBS=TJKWCFLBUXAI=A diff --git a/test/030_move/move_tests.c b/test/030_move/move_tests.c deleted file mode 100644 index 98c9592..0000000 --- a/test/030_move/move_tests.c +++ /dev/null @@ -1,23 +0,0 @@ -#include "../test.h" - -oriented_cube_t applymoves(oriented_cube_t, char *); - -void run(void) { - char movestr[STRLENMAX], cubestr[STRLENMAX]; - oriented_cube_t cube; - - fgets(movestr, STRLENMAX, stdin); - fgets(cubestr, STRLENMAX, stdin); - cube = readcube(cubestr); - - cube = applymoves(cube, movestr); - - if (iserror(cube)) { - printf("Error moving cube\n"); - } else if (!issolvable(cube)) { - printf("Moved cube is not solvable\n"); - } else { - writecube(cube, NISSY_SIZE_CUBE, cubestr); - printf("%s\n", cubestr); - } -} diff --git a/test/032_countmoves/05_niss.in b/test/032_countmoves/05_niss.in new file mode 100644 index 0000000..692e6c8 --- /dev/null +++ b/test/032_countmoves/05_niss.in @@ -0,0 +1 @@ +R2 M Uw (Fw2 M2 y2) diff --git a/test/032_countmoves/05_niss.out b/test/032_countmoves/05_niss.out new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/test/032_countmoves/05_niss.out @@ -0,0 +1 @@ +7 diff --git a/test/033_inverse_move/inverse_move_tests.c b/test/033_inverse_move/inverse_move_tests.c index dc9845c..e9bad0c 100644 --- a/test/033_inverse_move/inverse_move_tests.c +++ b/test/033_inverse_move/inverse_move_tests.c @@ -2,19 +2,25 @@ extern char *movestr[]; -int64_t readmoves(const char *, size_t n, uint8_t [n]); +int64_t readmoves(const char *, size_t n, size_t m, + uint64_t *, uint64_t *, uint8_t [n], uint8_t [m]); uint8_t inverse_move(uint8_t); void run(void) { + uint64_t inv, nor; + int64_t tot; uint8_t moves[2]; char moves_string[STRLENMAX]; fgets(moves_string, STRLENMAX, stdin); - if (readmoves(moves_string, 2, moves) != 1) { - printf("Test error: cannot read moves\n"); + tot = readmoves(moves_string, 2, 0, &nor, &inv, moves, NULL); + if (nor != 1 || tot != 1) { + printf("Test error reading moves\n"); return; } +fprintf(stderr, "Read move %" PRIu8 " = %s\n", moves[0], movestr[moves[0]]); + printf("%s\n", movestr[inverse_move(moves[0])]); } diff --git a/test/051_compose_oriented/00_scrambled_noorient.in b/test/051_compose_oriented/00_scrambled_noorient.in new file mode 100644 index 0000000..904292f --- /dev/null +++ b/test/051_compose_oriented/00_scrambled_noorient.in @@ -0,0 +1,4 @@ +CILVXGMR=FKbGIDSXBJAU=A +JLQWSVUH=ZLCUABGIVTKH=A +// Scramble: U R D' L D' F L2 D L F B D2 B' L2 F U2 L2 D2 R2 L2 B' +// Followed by R' U' F diff --git a/test/051_compose_oriented/00_scrambled_noorient.out b/test/051_compose_oriented/00_scrambled_noorient.out new file mode 100644 index 0000000..426e4fe --- /dev/null +++ b/test/051_compose_oriented/00_scrambled_noorient.out @@ -0,0 +1 @@ +QFSEDWPR=ZUbYFKSBTWAX=A diff --git a/test/051_compose_oriented/01_Uw_Fw.in b/test/051_compose_oriented/01_Uw_Fw.in new file mode 100644 index 0000000..d50425a --- /dev/null +++ b/test/051_compose_oriented/01_Uw_Fw.in @@ -0,0 +1,2 @@ +ABHGEFCD=ABHGEFCDIJKL=B +AXUDJFGK=ABCDEKJHIFGL=Q diff --git a/test/051_compose_oriented/01_Uw_Fw.out b/test/051_compose_oriented/01_Uw_Fw.out new file mode 100644 index 0000000..5b15c06 --- /dev/null +++ b/test/051_compose_oriented/01_Uw_Fw.out @@ -0,0 +1 @@ +MBKGXFQD=ZBHYEFCDQWKL=J diff --git a/test/051_compose_oriented/02_scrambled_scrambled.in b/test/051_compose_oriented/02_scrambled_scrambled.in new file mode 100644 index 0000000..5b814bc --- /dev/null +++ b/test/051_compose_oriented/02_scrambled_scrambled.in @@ -0,0 +1,4 @@ +JHFGDMQS=ZaUGRCFHQbTY=W +DCNORMXQ=YbaDFECXWRJA=G +// First cube: "F R Uw Lw' D E2 x y M" +// Second cube: "x R U R' Fw2 Bw y' S3" diff --git a/test/051_compose_oriented/02_scrambled_scrambled.out b/test/051_compose_oriented/02_scrambled_scrambled.out new file mode 100644 index 0000000..e6a0684 --- /dev/null +++ b/test/051_compose_oriented/02_scrambled_scrambled.out @@ -0,0 +1 @@ +VSMPGQJD=ZRHFLUCKAWYT=Q diff --git a/test/051_compose_oriented/compose_oriented_tests.c b/test/051_compose_oriented/compose_oriented_tests.c new file mode 100644 index 0000000..f677dd6 --- /dev/null +++ b/test/051_compose_oriented/compose_oriented_tests.c @@ -0,0 +1,24 @@ +#include "../test.h" + +oriented_cube_t compose_oriented(oriented_cube_t, oriented_cube_t); + +void run(void) { + char str[STRLENMAX]; + oriented_cube_t c1, c2, c3; + + fgets(str, STRLENMAX, stdin); + c1 = readcube(str); + fgets(str, STRLENMAX, stdin); + c2 = readcube(str); + + c3 = compose_oriented(c1, c2); + + if (iserror(c3)) { + printf("Error composing cubes\n"); + } else if (!issolvable(c3)) { + printf("Composed cube is not solvable\n"); + } else { + writecube(c3, NISSY_SIZE_CUBE, str); + printf("%s\n", str); + } +} diff --git a/test/062_transform_move/transform_move_tests.c b/test/062_transform_move/transform_move_tests.c index 39e8619..17cb0b6 100644 --- a/test/062_transform_move/transform_move_tests.c +++ b/test/062_transform_move/transform_move_tests.c @@ -4,7 +4,8 @@ cube_t applytrans(cube_t, const char *); uint8_t transform_move(uint8_t, uint8_t); -int64_t readmoves(const char *, size_t n, uint8_t [n]); +int64_t readmoves(const char *, size_t n, size_t m, + uint64_t *, uint64_t *, uint8_t [n], uint8_t [m]); oriented_cube_t move_extended(oriented_cube_t, uint8_t); oriented_cube_t applymoves(oriented_cube_t, const char *); uint8_t readtrans(const char[static NISSY_SIZE_TRANSFORMATION]); @@ -12,14 +13,19 @@ uint8_t readtrans(const char[static NISSY_SIZE_TRANSFORMATION]); void run(void) { char movestr[STRLENMAX], transtr[STRLENMAX], cubestr[STRLENMAX]; uint8_t t, moves[MAXMOVES]; - int i, n; + uint64_t i, n, ninv; + int64_t tot; oriented_cube_t cube; fgets(transtr, STRLENMAX, stdin); fgets(movestr, STRLENMAX, stdin); cube = solvedcube(); - n = readmoves(movestr, MAXMOVES, moves); + tot = readmoves(movestr, MAXMOVES, 0, &n, &ninv, moves, NULL); + if (tot < 0 || ninv != 0) { + printf("Test error reading moves\n"); + return; + } t = readtrans(transtr); for (i = 0; i < n; i++) cube = move_extended(cube, transform_move(moves[i], t)); diff --git a/test/130_appendsolution/00_empty.in b/test/130_appendsolution/00_empty.in index c4cad6e..1100b95 100644 --- a/test/130_appendsolution/00_empty.in +++ b/test/130_appendsolution/00_empty.in @@ -1,5 +1,5 @@ - 0 1 rotation UF +0 diff --git a/test/130_appendsolution/01_simple_onlynormal_nounniss.in b/test/130_appendsolution/01_simple_onlynormal_nounniss.in index 37b6f3d..fb1eaed 100644 --- a/test/130_appendsolution/01_simple_onlynormal_nounniss.in +++ b/test/130_appendsolution/01_simple_onlynormal_nounniss.in @@ -1,5 +1,5 @@ U F R D2 B' - 0 1 rotation UF +0 diff --git a/test/130_appendsolution/02_simple_onlynormal_nounnis_multitrans.in b/test/130_appendsolution/02_simple_onlynormal_nounnis_multitrans.in index c4ff41a..db5f074 100644 --- a/test/130_appendsolution/02_simple_onlynormal_nounnis_multitrans.in +++ b/test/130_appendsolution/02_simple_onlynormal_nounnis_multitrans.in @@ -1,8 +1,8 @@ U F R - 0 4 rotation UF mirrored UR rotation BD mirrored LB +0 diff --git a/test/130_appendsolution/03_simple_unniss.in b/test/130_appendsolution/03_simple_unniss.in index 231f60c..2c5a331 100644 --- a/test/130_appendsolution/03_simple_unniss.in +++ b/test/130_appendsolution/03_simple_unniss.in @@ -1,5 +1,5 @@ -U F B2 -R' F D +U F B2 (R' F D) 1 1 rotation UF +0 diff --git a/test/130_appendsolution/04_niss_nounniss.in b/test/130_appendsolution/04_niss_nounniss.in index 39c6518..b07f970 100644 --- a/test/130_appendsolution/04_niss_nounniss.in +++ b/test/130_appendsolution/04_niss_nounniss.in @@ -1,5 +1,5 @@ -U F B2 -R' F D +U F B2 (R' F D) 0 1 rotation UF +0 diff --git a/test/130_appendsolution/05_sort_parallel.in b/test/130_appendsolution/05_sort_parallel.in index 7c8c4f5..bc1cf0f 100644 --- a/test/130_appendsolution/05_sort_parallel.in +++ b/test/130_appendsolution/05_sort_parallel.in @@ -1,5 +1,5 @@ L R' B2 F - 0 1 rotation UF +0 diff --git a/test/130_appendsolution/06_unniss_trans_sort.in b/test/130_appendsolution/06_unniss_trans_sort.in index 9be03a6..2ffab93 100644 --- a/test/130_appendsolution/06_unniss_trans_sort.in +++ b/test/130_appendsolution/06_unniss_trans_sort.in @@ -1,5 +1,5 @@ -B -R2 F2 +B (R2 F2) 1 1 rotation UR +0 diff --git a/test/130_appendsolution/07_unniss_cancel_nosol.in b/test/130_appendsolution/07_unniss_cancel_nosol.in index 561c909..6883d05 100644 --- a/test/130_appendsolution/07_unniss_cancel_nosol.in +++ b/test/130_appendsolution/07_unniss_cancel_nosol.in @@ -1,5 +1,5 @@ -B' F -R2 B2 +B' F (R2 B2) 1 1 rotation UF +0 diff --git a/test/130_appendsolution/08_unniss_cancel_nosol_v2.in b/test/130_appendsolution/08_unniss_cancel_nosol_v2.in index e707537..3d461f0 100644 --- a/test/130_appendsolution/08_unniss_cancel_nosol_v2.in +++ b/test/130_appendsolution/08_unniss_cancel_nosol_v2.in @@ -1,5 +1,5 @@ -F' B -R2 F2 +F' B (R2 F2) 1 1 rotation UF +0 diff --git a/test/130_appendsolution/09_fullinverse_niss.in b/test/130_appendsolution/09_fullinverse_niss.in index 33f0a26..bb2b640 100644 --- a/test/130_appendsolution/09_fullinverse_niss.in +++ b/test/130_appendsolution/09_fullinverse_niss.in @@ -1,5 +1,5 @@ - -F +(F) 0 1 rotation UF +0 diff --git a/test/130_appendsolution/10_rotated.in b/test/130_appendsolution/10_rotated.in new file mode 100644 index 0000000..5210cd5 --- /dev/null +++ b/test/130_appendsolution/10_rotated.in @@ -0,0 +1,5 @@ +U2 F B L' +1 +1 +rotation UF +7 diff --git a/test/130_appendsolution/10_rotated.out b/test/130_appendsolution/10_rotated.out new file mode 100644 index 0000000..e70b2fe --- /dev/null +++ b/test/130_appendsolution/10_rotated.out @@ -0,0 +1,4 @@ +D2 R L F' +Number of solutions: 1 +Shortest solution length: 4 +Used bytes: 10 diff --git a/test/130_appendsolution/appendsolution_tests.c b/test/130_appendsolution/appendsolution_tests.c index abff359..e1b7e98 100644 --- a/test/130_appendsolution/appendsolution_tests.c +++ b/test/130_appendsolution/appendsolution_tests.c @@ -1,11 +1,11 @@ /* Input format for appendsolution tests: -moves on normal -moves on inverse (without parentheses) +moves on normal (with NISS notation) unniss flag (0=false, 1=true) number of transformations transformations, one per line +the orientation of the cube, as a number from 0 to 23 See below for the output format. */ @@ -13,7 +13,8 @@ See below for the output format. #include "../test.h" uint8_t readtrans(const char [NISSY_SIZE_TRANSFORMATION]); -int64_t readmoves(const char *, size_t n, uint8_t [n]); +int64_t readmoves(const char *, size_t n, size_t m, + uint64_t *, uint64_t *, uint8_t [n], uint8_t [m]); void solution_moves_reset(solution_moves_t [static 1]); bool solution_list_init(solution_list_t [static 1], size_t n, char [n]); int64_t appendsolution(const solution_moves_t [static 1], @@ -22,6 +23,8 @@ int64_t appendsolution(const solution_moves_t [static 1], void run(void) { int i, ntrans; + int64_t tot; + uint64_t nm, np; char str[STRLENMAX], buf[STRLENMAX]; solution_moves_t moves; solution_settings_t settings; @@ -38,9 +41,13 @@ void run(void) { }; fgets(str, STRLENMAX, stdin); - moves.nmoves = (uint8_t)readmoves(str, 20, moves.moves); - fgets(str, STRLENMAX, stdin); - moves.npremoves = (uint8_t)readmoves(str, 20, moves.premoves); + tot = readmoves(str, 20, 20, &nm, &np, moves.moves, moves.premoves); + if (tot < 0) { + printf("Test error reading moves\n"); + return; + } + moves.nmoves = nm; + moves.npremoves = np; fgets(str, STRLENMAX, stdin); settings.unniss = (bool)atoi(str); fgets(str, STRLENMAX, stdin); @@ -49,6 +56,8 @@ void run(void) { fgets(str, STRLENMAX, stdin); settings.tmask |= UINT64_C(1) << (uint64_t)readtrans(str); } + fgets(str, STRLENMAX, stdin); + settings.orientation = atoi(str); appendsolution(&moves, &settings, &list, false, "Test"); -- cgit v1.3