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 ++++++++++++++++++++++ 161 files changed, 265 insertions(+) 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 (limited to 'test/030_applymoves') 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); + } +} -- cgit v1.3