From 72e018b066bd5cc3ce0181b43865a227e8b9b6ec Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 12 Apr 2024 20:22:01 +0200 Subject: Initial fork from H48 --- test/000_basic/all.in | 0 test/000_basic/all.out | 7 ++++ test/000_basic/basic_tests.c | 33 ++++++++++++++++++ test/001_cube_conversion/00_solved.in | 1 + test/001_cube_conversion/00_solved.out | 1 + test/001_cube_conversion/01_scrambled.in | 1 + test/001_cube_conversion/01_scrambled.out | 1 + test/001_cube_conversion/cube_conversion_tests.c | 27 +++++++++++++++ test/010_math_permsign/00_solved.in | 8 +++++ test/010_math_permsign/00_solved.out | 1 + test/010_math_permsign/01_3cycle.in | 6 ++++ test/010_math_permsign/01_3cycle.out | 1 + test/010_math_permsign/02_22swap.in | 13 ++++++++ test/010_math_permsign/02_22swap.out | 1 + test/010_math_permsign/03_singleswap.in | 7 ++++ test/010_math_permsign/03_singleswap.out | 1 + test/010_math_permsign/04_5ycle.in | 11 ++++++ test/010_math_permsign/04_5ycle.out | 1 + test/010_math_permsign/05_6ycle.in | 9 +++++ test/010_math_permsign/05_6ycle.out | 1 + test/010_math_permsign/permsgn_tests.c | 22 ++++++++++++ test/020_io_H48_read_write/00_garbage.in | 3 ++ test/020_io_H48_read_write/00_garbage.out | 1 + test/020_io_H48_read_write/01_solved_oneline.in | 1 + test/020_io_H48_read_write/01_solved_oneline.out | 1 + .../02_solved_oneline_whitespace.in | 1 + .../02_solved_oneline_whitespace.out | 1 + test/020_io_H48_read_write/03_solved_multiline.in | 9 +++++ test/020_io_H48_read_write/03_solved_multiline.out | 1 + test/020_io_H48_read_write/04_unsolvable_ep.in | 1 + test/020_io_H48_read_write/04_unsolvable_ep.out | 1 + test/020_io_H48_read_write/05_unsolvable_eo.in | 1 + test/020_io_H48_read_write/05_unsolvable_eo.out | 1 + test/020_io_H48_read_write/06_unsolvable_cp.in | 1 + test/020_io_H48_read_write/06_unsolvable_cp.out | 1 + test/020_io_H48_read_write/07_unsolvable_co.in | 1 + test/020_io_H48_read_write/07_unsolvable_co.out | 1 + test/020_io_H48_read_write/08_unsolved.in | 6 ++++ test/020_io_H48_read_write/08_unsolved.out | 1 + test/020_io_H48_read_write/io_H48_tests.c | 24 +++++++++++++ test/023_io_LST_write/01_solved.in | 1 + test/023_io_LST_write/01_solved.out | 1 + test/023_io_LST_write/02_scrambled.in | 1 + test/023_io_LST_write/02_scrambled.out | 1 + test/023_io_LST_write/io_LST_tests.c | 24 +++++++++++++ test/024_io_LST_read/01_solved.in | 1 + test/024_io_LST_read/01_solved.out | 1 + test/024_io_LST_read/02_scrambled.in | 1 + test/024_io_LST_read/02_scrambled.out | 1 + test/024_io_LST_read/io_LST_tests.c | 24 +++++++++++++ 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/move_tests.c | 25 ++++++++++++++ test/040_inverse_cube/00_solved.in | 1 + test/040_inverse_cube/00_solved.out | 1 + test/040_inverse_cube/01_scrambled.in | 1 + test/040_inverse_cube/01_scrambled.out | 1 + test/040_inverse_cube/inverse_tests.c | 23 +++++++++++++ test/050_compose/00_solved_solved.in | 2 ++ test/050_compose/00_solved_solved.out | 1 + test/050_compose/01_solved_U.in | 2 ++ test/050_compose/01_solved_U.out | 1 + test/050_compose/02_solved_scrambled.in | 2 ++ test/050_compose/02_solved_scrambled.out | 1 + test/050_compose/11_U_solved.in | 2 ++ test/050_compose/11_U_solved.out | 1 + test/050_compose/12_scrambled_solved.in | 2 ++ test/050_compose/12_scrambled_solved.out | 1 + test/050_compose/20_U_U.in | 2 ++ test/050_compose/20_U_U.out | 1 + test/050_compose/21_U_Uinverse.in | 2 ++ test/050_compose/21_U_Uinverse.out | 1 + test/050_compose/22_F_Finverse.in | 2 ++ test/050_compose/22_F_Finverse.out | 1 + test/050_compose/23_F2_F2.in | 2 ++ test/050_compose/23_F2_F2.out | 1 + test/050_compose/24_U_F.in | 2 ++ test/050_compose/24_U_F.out | 1 + test/050_compose/25_F_R.in | 2 ++ test/050_compose/25_F_R.out | 1 + test/050_compose/30_scrambled_inverse.in | 4 +++ test/050_compose/30_scrambled_inverse.out | 1 + test/050_compose/31_scrambled_scrambled.in | 4 +++ test/050_compose/31_scrambled_scrambled.out | 1 + test/050_compose/compose_tests.c | 26 +++++++++++++++ test/060_transform/000_solved_UFr.in | 2 ++ test/060_transform/000_solved_UFr.out | 1 + test/060_transform/001_solved_BLm.in | 2 ++ test/060_transform/001_solved_BLm.out | 1 + test/060_transform/100_UFr_U.in | 2 ++ test/060_transform/100_UFr_U.out | 1 + test/060_transform/101_UFm_U.in | 2 ++ test/060_transform/101_UFm_U.out | 1 + test/060_transform/102_UFr_R.in | 2 ++ test/060_transform/102_UFr_R.out | 1 + test/060_transform/103_UFm_R.in | 2 ++ test/060_transform/103_UFm_R.out | 1 + test/060_transform/104_UFr_F.in | 2 ++ test/060_transform/104_UFr_F.out | 1 + test/060_transform/105_UFm_F.in | 2 ++ test/060_transform/105_UFm_F.out | 1 + test/060_transform/106_ULr_U.in | 2 ++ test/060_transform/106_ULr_U.out | 1 + test/060_transform/107_ULm_U.in | 2 ++ test/060_transform/107_ULm_U.out | 1 + test/060_transform/108_ULr_R.in | 2 ++ test/060_transform/108_ULr_R.out | 1 + test/060_transform/109_ULm_R.in | 2 ++ test/060_transform/109_ULm_R.out | 1 + test/060_transform/110_ULr_F.in | 2 ++ test/060_transform/110_ULr_F.out | 1 + test/060_transform/111_ULm_F.in | 2 ++ test/060_transform/111_ULm_F.out | 1 + test/060_transform/112_UBr_U.in | 2 ++ test/060_transform/112_UBr_U.out | 1 + test/060_transform/113_UBm_U.in | 2 ++ test/060_transform/113_UBm_U.out | 1 + test/060_transform/114_UBr_R.in | 2 ++ test/060_transform/114_UBr_R.out | 1 + test/060_transform/115_UBm_R.in | 2 ++ test/060_transform/115_UBm_R.out | 1 + test/060_transform/116_UBr_F.in | 2 ++ test/060_transform/116_UBr_F.out | 1 + test/060_transform/117_UBm_F.in | 2 ++ test/060_transform/117_UBm_F.out | 1 + test/060_transform/118_URr_U.in | 2 ++ test/060_transform/118_URr_U.out | 1 + test/060_transform/119_URm_U.in | 2 ++ test/060_transform/119_URm_U.out | 1 + test/060_transform/120_URr_R.in | 2 ++ test/060_transform/120_URr_R.out | 1 + test/060_transform/121_URm_R.in | 2 ++ test/060_transform/121_URm_R.out | 1 + test/060_transform/122_URr_F.in | 2 ++ test/060_transform/122_URr_F.out | 1 + test/060_transform/123_URm_F.in | 2 ++ test/060_transform/123_URm_F.out | 1 + test/060_transform/124_DFr_U.in | 2 ++ test/060_transform/124_DFr_U.out | 1 + test/060_transform/125_DFm_U.in | 2 ++ test/060_transform/125_DFm_U.out | 1 + test/060_transform/126_DFr_R.in | 2 ++ test/060_transform/126_DFr_R.out | 1 + test/060_transform/127_DFm_R.in | 2 ++ test/060_transform/127_DFm_R.out | 1 + test/060_transform/128_DFr_F.in | 2 ++ test/060_transform/128_DFr_F.out | 1 + test/060_transform/129_DFm_F.in | 2 ++ test/060_transform/129_DFm_F.out | 1 + test/060_transform/130_DLr_U.in | 2 ++ test/060_transform/130_DLr_U.out | 1 + test/060_transform/131_DLm_U.in | 2 ++ test/060_transform/131_DLm_U.out | 1 + test/060_transform/132_DLr_R.in | 2 ++ test/060_transform/132_DLr_R.out | 1 + test/060_transform/133_DLm_R.in | 2 ++ test/060_transform/133_DLm_R.out | 1 + test/060_transform/134_DLr_F.in | 2 ++ test/060_transform/134_DLr_F.out | 1 + test/060_transform/135_DLm_F.in | 2 ++ test/060_transform/135_DLm_F.out | 1 + test/060_transform/136_DBr_U.in | 2 ++ test/060_transform/136_DBr_U.out | 1 + test/060_transform/137_DBm_U.in | 2 ++ test/060_transform/137_DBm_U.out | 1 + test/060_transform/138_DBr_R.in | 2 ++ test/060_transform/138_DBr_R.out | 1 + test/060_transform/139_DBm_R.in | 2 ++ test/060_transform/139_DBm_R.out | 1 + test/060_transform/140_DBr_F.in | 2 ++ test/060_transform/140_DBr_F.out | 1 + test/060_transform/141_DBm_F.in | 2 ++ test/060_transform/141_DBm_F.out | 1 + test/060_transform/142_DRr_U.in | 2 ++ test/060_transform/142_DRr_U.out | 1 + test/060_transform/143_DRm_U.in | 2 ++ test/060_transform/143_DRm_U.out | 1 + test/060_transform/144_DRr_R.in | 2 ++ test/060_transform/144_DRr_R.out | 1 + test/060_transform/145_DRm_R.in | 2 ++ test/060_transform/145_DRm_R.out | 1 + test/060_transform/146_DRr_F.in | 2 ++ test/060_transform/146_DRr_F.out | 1 + test/060_transform/147_DRm_F.in | 2 ++ test/060_transform/147_DRm_F.out | 1 + test/060_transform/148_RUr_U.in | 2 ++ test/060_transform/148_RUr_U.out | 1 + test/060_transform/149_RUm_U.in | 2 ++ test/060_transform/149_RUm_U.out | 1 + test/060_transform/150_RUr_R.in | 2 ++ test/060_transform/150_RUr_R.out | 1 + test/060_transform/151_RUm_R.in | 2 ++ test/060_transform/151_RUm_R.out | 1 + test/060_transform/152_RUr_F.in | 2 ++ test/060_transform/152_RUr_F.out | 1 + test/060_transform/153_RUm_F.in | 2 ++ test/060_transform/153_RUm_F.out | 1 + test/060_transform/154_RFr_U.in | 2 ++ test/060_transform/154_RFr_U.out | 1 + test/060_transform/155_RFm_U.in | 2 ++ test/060_transform/155_RFm_U.out | 1 + test/060_transform/156_RFr_R.in | 2 ++ test/060_transform/156_RFr_R.out | 1 + test/060_transform/157_RFm_R.in | 2 ++ test/060_transform/157_RFm_R.out | 1 + test/060_transform/158_RFr_F.in | 2 ++ test/060_transform/158_RFr_F.out | 1 + test/060_transform/159_RFm_F.in | 2 ++ test/060_transform/159_RFm_F.out | 1 + test/060_transform/160_RDr_U.in | 2 ++ test/060_transform/160_RDr_U.out | 1 + test/060_transform/161_RDm_U.in | 2 ++ test/060_transform/161_RDm_U.out | 1 + test/060_transform/162_RDr_R.in | 2 ++ test/060_transform/162_RDr_R.out | 1 + test/060_transform/163_RDm_R.in | 2 ++ test/060_transform/163_RDm_R.out | 1 + test/060_transform/164_RDr_F.in | 2 ++ test/060_transform/164_RDr_F.out | 1 + test/060_transform/165_RDm_F.in | 2 ++ test/060_transform/165_RDm_F.out | 1 + test/060_transform/166_RBr_U.in | 2 ++ test/060_transform/166_RBr_U.out | 1 + test/060_transform/167_RBm_U.in | 2 ++ test/060_transform/167_RBm_U.out | 1 + test/060_transform/168_RBr_R.in | 2 ++ test/060_transform/168_RBr_R.out | 1 + test/060_transform/169_RBm_R.in | 2 ++ test/060_transform/169_RBm_R.out | 1 + test/060_transform/170_RBr_F.in | 2 ++ test/060_transform/170_RBr_F.out | 1 + test/060_transform/171_RBm_F.in | 2 ++ test/060_transform/171_RBm_F.out | 1 + test/060_transform/172_LUr_U.in | 2 ++ test/060_transform/172_LUr_U.out | 1 + test/060_transform/173_LUm_U.in | 2 ++ test/060_transform/173_LUm_U.out | 1 + test/060_transform/174_LUr_R.in | 2 ++ test/060_transform/174_LUr_R.out | 1 + test/060_transform/175_LUm_R.in | 2 ++ test/060_transform/175_LUm_R.out | 1 + test/060_transform/176_LUr_F.in | 2 ++ test/060_transform/176_LUr_F.out | 1 + test/060_transform/177_LUm_F.in | 2 ++ test/060_transform/177_LUm_F.out | 1 + test/060_transform/178_LFr_U.in | 2 ++ test/060_transform/178_LFr_U.out | 1 + test/060_transform/179_LFm_U.in | 2 ++ test/060_transform/179_LFm_U.out | 1 + test/060_transform/180_LFr_R.in | 2 ++ test/060_transform/180_LFr_R.out | 1 + test/060_transform/181_LFm_R.in | 2 ++ test/060_transform/181_LFm_R.out | 1 + test/060_transform/182_LFr_F.in | 2 ++ test/060_transform/182_LFr_F.out | 1 + test/060_transform/183_LFm_F.in | 2 ++ test/060_transform/183_LFm_F.out | 1 + test/060_transform/184_LDr_U.in | 2 ++ test/060_transform/184_LDr_U.out | 1 + test/060_transform/185_LDm_U.in | 2 ++ test/060_transform/185_LDm_U.out | 1 + test/060_transform/186_LDr_R.in | 2 ++ test/060_transform/186_LDr_R.out | 1 + test/060_transform/187_LDm_R.in | 2 ++ test/060_transform/187_LDm_R.out | 1 + test/060_transform/188_LDr_F.in | 2 ++ test/060_transform/188_LDr_F.out | 1 + test/060_transform/189_LDm_F.in | 2 ++ test/060_transform/189_LDm_F.out | 1 + test/060_transform/190_LBr_U.in | 2 ++ test/060_transform/190_LBr_U.out | 1 + test/060_transform/191_LBm_U.in | 2 ++ test/060_transform/191_LBm_U.out | 1 + test/060_transform/192_LBr_R.in | 2 ++ test/060_transform/192_LBr_R.out | 1 + test/060_transform/193_LBm_R.in | 2 ++ test/060_transform/193_LBm_R.out | 1 + test/060_transform/194_LBr_F.in | 2 ++ test/060_transform/194_LBr_F.out | 1 + test/060_transform/195_LBm_F.in | 2 ++ test/060_transform/195_LBm_F.out | 1 + test/060_transform/196_FUr_U.in | 2 ++ test/060_transform/196_FUr_U.out | 1 + test/060_transform/197_FUm_U.in | 2 ++ test/060_transform/197_FUm_U.out | 1 + test/060_transform/198_FUr_R.in | 2 ++ test/060_transform/198_FUr_R.out | 1 + test/060_transform/199_FUm_R.in | 2 ++ test/060_transform/199_FUm_R.out | 1 + test/060_transform/200_FUr_F.in | 2 ++ test/060_transform/200_FUr_F.out | 1 + test/060_transform/201_FUm_F.in | 2 ++ test/060_transform/201_FUm_F.out | 1 + test/060_transform/202_FRr_U.in | 2 ++ test/060_transform/202_FRr_U.out | 1 + test/060_transform/203_FRm_U.in | 2 ++ test/060_transform/203_FRm_U.out | 1 + test/060_transform/204_FRr_R.in | 2 ++ test/060_transform/204_FRr_R.out | 1 + test/060_transform/205_FRm_R.in | 2 ++ test/060_transform/205_FRm_R.out | 1 + test/060_transform/206_FRr_F.in | 2 ++ test/060_transform/206_FRr_F.out | 1 + test/060_transform/207_FRm_F.in | 2 ++ test/060_transform/207_FRm_F.out | 1 + test/060_transform/208_FDr_U.in | 2 ++ test/060_transform/208_FDr_U.out | 1 + test/060_transform/209_FDm_U.in | 2 ++ test/060_transform/209_FDm_U.out | 1 + test/060_transform/210_FDr_R.in | 2 ++ test/060_transform/210_FDr_R.out | 1 + test/060_transform/211_FDm_R.in | 2 ++ test/060_transform/211_FDm_R.out | 1 + test/060_transform/212_FDr_F.in | 2 ++ test/060_transform/212_FDr_F.out | 1 + test/060_transform/213_FDm_F.in | 2 ++ test/060_transform/213_FDm_F.out | 1 + test/060_transform/214_FLr_U.in | 2 ++ test/060_transform/214_FLr_U.out | 1 + test/060_transform/215_FLm_U.in | 2 ++ test/060_transform/215_FLm_U.out | 1 + test/060_transform/216_FLr_R.in | 2 ++ test/060_transform/216_FLr_R.out | 1 + test/060_transform/217_FLm_R.in | 2 ++ test/060_transform/217_FLm_R.out | 1 + test/060_transform/218_FLr_F.in | 2 ++ test/060_transform/218_FLr_F.out | 1 + test/060_transform/219_FLm_F.in | 2 ++ test/060_transform/219_FLm_F.out | 1 + test/060_transform/220_BUr_U.in | 2 ++ test/060_transform/220_BUr_U.out | 1 + test/060_transform/221_BUm_U.in | 2 ++ test/060_transform/221_BUm_U.out | 1 + test/060_transform/222_BUr_R.in | 2 ++ test/060_transform/222_BUr_R.out | 1 + test/060_transform/223_BUm_R.in | 2 ++ test/060_transform/223_BUm_R.out | 1 + test/060_transform/224_BUr_F.in | 2 ++ test/060_transform/224_BUr_F.out | 1 + test/060_transform/225_BUm_F.in | 2 ++ test/060_transform/225_BUm_F.out | 1 + test/060_transform/226_BRr_U.in | 2 ++ test/060_transform/226_BRr_U.out | 1 + test/060_transform/227_BRm_U.in | 2 ++ test/060_transform/227_BRm_U.out | 1 + test/060_transform/228_BRr_R.in | 2 ++ test/060_transform/228_BRr_R.out | 1 + test/060_transform/229_BRm_R.in | 2 ++ test/060_transform/229_BRm_R.out | 1 + test/060_transform/230_BRr_F.in | 2 ++ test/060_transform/230_BRr_F.out | 1 + test/060_transform/231_BRm_F.in | 2 ++ test/060_transform/231_BRm_F.out | 1 + test/060_transform/232_BDr_U.in | 2 ++ test/060_transform/232_BDr_U.out | 1 + test/060_transform/233_BDm_U.in | 2 ++ test/060_transform/233_BDm_U.out | 1 + test/060_transform/234_BDr_R.in | 2 ++ test/060_transform/234_BDr_R.out | 1 + test/060_transform/235_BDm_R.in | 2 ++ test/060_transform/235_BDm_R.out | 1 + test/060_transform/236_BDr_F.in | 2 ++ test/060_transform/236_BDr_F.out | 1 + test/060_transform/237_BDm_F.in | 2 ++ test/060_transform/237_BDm_F.out | 1 + test/060_transform/238_BLr_U.in | 2 ++ test/060_transform/238_BLr_U.out | 1 + test/060_transform/239_BLm_U.in | 2 ++ test/060_transform/239_BLm_U.out | 1 + test/060_transform/240_BLr_R.in | 2 ++ test/060_transform/240_BLr_R.out | 1 + test/060_transform/241_BLm_R.in | 2 ++ test/060_transform/241_BLm_R.out | 1 + test/060_transform/242_BLr_F.in | 2 ++ test/060_transform/242_BLr_F.out | 1 + test/060_transform/243_BLm_F.in | 2 ++ test/060_transform/243_BLm_F.out | 1 + test/060_transform/transform_tests.c | 25 ++++++++++++++ test/061_inverse_trans/00_all.in | 0 test/061_inverse_trans/00_all.out | 0 test/061_inverse_trans/inverse_trans_tests.c | 38 +++++++++++++++++++++ test/071_coord_eo/00_solved.in | 1 + test/071_coord_eo/00_solved.out | 1 + test/071_coord_eo/01_U.in | 1 + test/071_coord_eo/01_U.out | 1 + test/071_coord_eo/02_U2.in | 1 + test/071_coord_eo/02_U2.out | 1 + test/071_coord_eo/03_U3.in | 1 + test/071_coord_eo/03_U3.out | 1 + test/071_coord_eo/04_D.in | 1 + test/071_coord_eo/04_D.out | 1 + test/071_coord_eo/07_R.in | 1 + test/071_coord_eo/07_R.out | 1 + test/071_coord_eo/08_R2.in | 1 + test/071_coord_eo/08_R2.out | 1 + test/071_coord_eo/10_L.in | 1 + test/071_coord_eo/10_L.out | 1 + test/071_coord_eo/13_F.in | 1 + test/071_coord_eo/13_F.out | 1 + test/071_coord_eo/14_F2.in | 1 + test/071_coord_eo/14_F2.out | 1 + test/071_coord_eo/15_F3.in | 1 + test/071_coord_eo/15_F3.out | 1 + test/071_coord_eo/16_B.in | 1 + test/071_coord_eo/16_B.out | 1 + test/071_coord_eo/17_B2.in | 1 + test/071_coord_eo/17_B2.out | 1 + test/071_coord_eo/18_B3.in | 1 + test/071_coord_eo/18_B3.out | 1 + test/071_coord_eo/20_scrambled.in | 3 ++ test/071_coord_eo/20_scrambled.out | 1 + test/071_coord_eo/coord_eo_tests.c | 21 ++++++++++++ test/072_coord_co/00_solved.in | 1 + test/072_coord_co/00_solved.out | 1 + test/072_coord_co/01_U.in | 1 + test/072_coord_co/01_U.out | 1 + test/072_coord_co/02_U2.in | 1 + test/072_coord_co/02_U2.out | 1 + test/072_coord_co/03_U3.in | 1 + test/072_coord_co/03_U3.out | 1 + test/072_coord_co/04_D.in | 1 + test/072_coord_co/04_D.out | 1 + test/072_coord_co/07_R.in | 1 + test/072_coord_co/07_R.out | 1 + test/072_coord_co/08_R2.in | 1 + test/072_coord_co/08_R2.out | 1 + test/072_coord_co/10_L.in | 1 + test/072_coord_co/10_L.out | 1 + test/072_coord_co/13_F.in | 1 + test/072_coord_co/13_F.out | 1 + test/072_coord_co/14_F2.in | 1 + test/072_coord_co/14_F2.out | 1 + test/072_coord_co/16_B.in | 1 + test/072_coord_co/16_B.out | 1 + test/072_coord_co/17_B2.in | 1 + test/072_coord_co/17_B2.out | 1 + test/072_coord_co/20_scrambled.in | 3 ++ test/072_coord_co/20_scrambled.out | 1 + test/072_coord_co/coord_co_tests.c | 21 ++++++++++++ test/test.h | 27 +++++++++++++++ test/test.sh | 39 ++++++++++++++++++++++ 507 files changed, 1158 insertions(+) create mode 100644 test/000_basic/all.in create mode 100644 test/000_basic/all.out create mode 100644 test/000_basic/basic_tests.c create mode 100644 test/001_cube_conversion/00_solved.in create mode 100644 test/001_cube_conversion/00_solved.out create mode 100644 test/001_cube_conversion/01_scrambled.in create mode 100644 test/001_cube_conversion/01_scrambled.out create mode 100644 test/001_cube_conversion/cube_conversion_tests.c create mode 100644 test/010_math_permsign/00_solved.in create mode 100644 test/010_math_permsign/00_solved.out create mode 100644 test/010_math_permsign/01_3cycle.in create mode 100644 test/010_math_permsign/01_3cycle.out create mode 100644 test/010_math_permsign/02_22swap.in create mode 100644 test/010_math_permsign/02_22swap.out create mode 100644 test/010_math_permsign/03_singleswap.in create mode 100644 test/010_math_permsign/03_singleswap.out create mode 100644 test/010_math_permsign/04_5ycle.in create mode 100644 test/010_math_permsign/04_5ycle.out create mode 100644 test/010_math_permsign/05_6ycle.in create mode 100644 test/010_math_permsign/05_6ycle.out create mode 100644 test/010_math_permsign/permsgn_tests.c create mode 100644 test/020_io_H48_read_write/00_garbage.in create mode 100644 test/020_io_H48_read_write/00_garbage.out create mode 100644 test/020_io_H48_read_write/01_solved_oneline.in create mode 100644 test/020_io_H48_read_write/01_solved_oneline.out create mode 100644 test/020_io_H48_read_write/02_solved_oneline_whitespace.in create mode 100644 test/020_io_H48_read_write/02_solved_oneline_whitespace.out create mode 100644 test/020_io_H48_read_write/03_solved_multiline.in create mode 100644 test/020_io_H48_read_write/03_solved_multiline.out create mode 100644 test/020_io_H48_read_write/04_unsolvable_ep.in create mode 100644 test/020_io_H48_read_write/04_unsolvable_ep.out create mode 100644 test/020_io_H48_read_write/05_unsolvable_eo.in create mode 100644 test/020_io_H48_read_write/05_unsolvable_eo.out create mode 100644 test/020_io_H48_read_write/06_unsolvable_cp.in create mode 100644 test/020_io_H48_read_write/06_unsolvable_cp.out create mode 100644 test/020_io_H48_read_write/07_unsolvable_co.in create mode 100644 test/020_io_H48_read_write/07_unsolvable_co.out create mode 100644 test/020_io_H48_read_write/08_unsolved.in create mode 100644 test/020_io_H48_read_write/08_unsolved.out create mode 100644 test/020_io_H48_read_write/io_H48_tests.c create mode 100644 test/023_io_LST_write/01_solved.in create mode 100644 test/023_io_LST_write/01_solved.out create mode 100644 test/023_io_LST_write/02_scrambled.in create mode 100644 test/023_io_LST_write/02_scrambled.out create mode 100644 test/023_io_LST_write/io_LST_tests.c create mode 100644 test/024_io_LST_read/01_solved.in create mode 100644 test/024_io_LST_read/01_solved.out create mode 100644 test/024_io_LST_read/02_scrambled.in create mode 100644 test/024_io_LST_read/02_scrambled.out create mode 100644 test/024_io_LST_read/io_LST_tests.c create mode 100644 test/030_move/000_nomove_solved.in create mode 100644 test/030_move/000_nomove_solved.out create mode 100644 test/030_move/001_nomove_scrambled.in create mode 100644 test/030_move/001_nomove_scrambled.out create mode 100644 test/030_move/010_U_solved.in create mode 100644 test/030_move/010_U_solved.out create mode 100644 test/030_move/011_U_scrambled.in create mode 100644 test/030_move/011_U_scrambled.out create mode 100644 test/030_move/012_U_inverse.in create mode 100644 test/030_move/012_U_inverse.out create mode 100644 test/030_move/020_U2_solved.in create mode 100644 test/030_move/020_U2_solved.out create mode 100644 test/030_move/021_U2_scrambled.in create mode 100644 test/030_move/021_U2_scrambled.out create mode 100644 test/030_move/022_U2_inverse.in create mode 100644 test/030_move/022_U2_inverse.out create mode 100644 test/030_move/030_U3_solved.in create mode 100644 test/030_move/030_U3_solved.out create mode 100644 test/030_move/031_U3_inverse.in create mode 100644 test/030_move/031_U3_inverse.out create mode 100644 test/030_move/032_U3_scrambled.in create mode 100644 test/030_move/032_U3_scrambled.out create mode 100644 test/030_move/033_U3_with_prime.in create mode 100644 test/030_move/033_U3_with_prime.out create mode 100644 test/030_move/040_D_solved.in create mode 100644 test/030_move/040_D_solved.out create mode 100644 test/030_move/050_D2_solved.in create mode 100644 test/030_move/050_D2_solved.out create mode 100644 test/030_move/060_D3_solved.in create mode 100644 test/030_move/060_D3_solved.out create mode 100644 test/030_move/070_R_solved.in create mode 100644 test/030_move/070_R_solved.out create mode 100644 test/030_move/071_R_scrambled.in create mode 100644 test/030_move/071_R_scrambled.out create mode 100644 test/030_move/080_R2_solved.in create mode 100644 test/030_move/080_R2_solved.out create mode 100644 test/030_move/090_R3_solved.in create mode 100644 test/030_move/090_R3_solved.out create mode 100644 test/030_move/100_L_solved.in create mode 100644 test/030_move/100_L_solved.out create mode 100644 test/030_move/110_L2_solved.in create mode 100644 test/030_move/110_L2_solved.out create mode 100644 test/030_move/120_L3_solved.in create mode 100644 test/030_move/120_L3_solved.out create mode 100644 test/030_move/130_F_solved.in create mode 100644 test/030_move/130_F_solved.out create mode 100644 test/030_move/132_F_scrambled.in create mode 100644 test/030_move/132_F_scrambled.out create mode 100644 test/030_move/133_F_scrambled_2.in create mode 100644 test/030_move/133_F_scrambled_2.out create mode 100644 test/030_move/140_F2_solved.in create mode 100644 test/030_move/140_F2_solved.out create mode 100644 test/030_move/150_F3_solved.in create mode 100644 test/030_move/150_F3_solved.out create mode 100644 test/030_move/160_B_solved.in create mode 100644 test/030_move/160_B_solved.out create mode 100644 test/030_move/170_B2_solved.in create mode 100644 test/030_move/170_B2_solved.out create mode 100644 test/030_move/180_B3_solved.in create mode 100644 test/030_move/180_B3_solved.out create mode 100644 test/030_move/200_scramble_solved.in create mode 100644 test/030_move/200_scramble_solved.out create mode 100644 test/030_move/201_solution_scrambled.in create mode 100644 test/030_move/201_solution_scrambled.out create mode 100644 test/030_move/300_multimove_solved.in create mode 100644 test/030_move/300_multimove_solved.out create mode 100644 test/030_move/301_multimove_scrambled.in create mode 100644 test/030_move/301_multimove_scrambled.out create mode 100644 test/030_move/move_tests.c create mode 100644 test/040_inverse_cube/00_solved.in create mode 100644 test/040_inverse_cube/00_solved.out create mode 100644 test/040_inverse_cube/01_scrambled.in create mode 100644 test/040_inverse_cube/01_scrambled.out create mode 100644 test/040_inverse_cube/inverse_tests.c create mode 100644 test/050_compose/00_solved_solved.in create mode 100644 test/050_compose/00_solved_solved.out create mode 100644 test/050_compose/01_solved_U.in create mode 100644 test/050_compose/01_solved_U.out create mode 100644 test/050_compose/02_solved_scrambled.in create mode 100644 test/050_compose/02_solved_scrambled.out create mode 100644 test/050_compose/11_U_solved.in create mode 100644 test/050_compose/11_U_solved.out create mode 100644 test/050_compose/12_scrambled_solved.in create mode 100644 test/050_compose/12_scrambled_solved.out create mode 100644 test/050_compose/20_U_U.in create mode 100644 test/050_compose/20_U_U.out create mode 100644 test/050_compose/21_U_Uinverse.in create mode 100644 test/050_compose/21_U_Uinverse.out create mode 100644 test/050_compose/22_F_Finverse.in create mode 100644 test/050_compose/22_F_Finverse.out create mode 100644 test/050_compose/23_F2_F2.in create mode 100644 test/050_compose/23_F2_F2.out create mode 100644 test/050_compose/24_U_F.in create mode 100644 test/050_compose/24_U_F.out create mode 100644 test/050_compose/25_F_R.in create mode 100644 test/050_compose/25_F_R.out create mode 100644 test/050_compose/30_scrambled_inverse.in create mode 100644 test/050_compose/30_scrambled_inverse.out create mode 100644 test/050_compose/31_scrambled_scrambled.in create mode 100644 test/050_compose/31_scrambled_scrambled.out create mode 100644 test/050_compose/compose_tests.c create mode 100644 test/060_transform/000_solved_UFr.in create mode 100644 test/060_transform/000_solved_UFr.out create mode 100644 test/060_transform/001_solved_BLm.in create mode 100644 test/060_transform/001_solved_BLm.out create mode 100644 test/060_transform/100_UFr_U.in create mode 100644 test/060_transform/100_UFr_U.out create mode 100644 test/060_transform/101_UFm_U.in create mode 100644 test/060_transform/101_UFm_U.out create mode 100644 test/060_transform/102_UFr_R.in create mode 100644 test/060_transform/102_UFr_R.out create mode 100644 test/060_transform/103_UFm_R.in create mode 100644 test/060_transform/103_UFm_R.out create mode 100644 test/060_transform/104_UFr_F.in create mode 100644 test/060_transform/104_UFr_F.out create mode 100644 test/060_transform/105_UFm_F.in create mode 100644 test/060_transform/105_UFm_F.out create mode 100644 test/060_transform/106_ULr_U.in create mode 100644 test/060_transform/106_ULr_U.out create mode 100644 test/060_transform/107_ULm_U.in create mode 100644 test/060_transform/107_ULm_U.out create mode 100644 test/060_transform/108_ULr_R.in create mode 100644 test/060_transform/108_ULr_R.out create mode 100644 test/060_transform/109_ULm_R.in create mode 100644 test/060_transform/109_ULm_R.out create mode 100644 test/060_transform/110_ULr_F.in create mode 100644 test/060_transform/110_ULr_F.out create mode 100644 test/060_transform/111_ULm_F.in create mode 100644 test/060_transform/111_ULm_F.out create mode 100644 test/060_transform/112_UBr_U.in create mode 100644 test/060_transform/112_UBr_U.out create mode 100644 test/060_transform/113_UBm_U.in create mode 100644 test/060_transform/113_UBm_U.out create mode 100644 test/060_transform/114_UBr_R.in create mode 100644 test/060_transform/114_UBr_R.out create mode 100644 test/060_transform/115_UBm_R.in create mode 100644 test/060_transform/115_UBm_R.out create mode 100644 test/060_transform/116_UBr_F.in create mode 100644 test/060_transform/116_UBr_F.out create mode 100644 test/060_transform/117_UBm_F.in create mode 100644 test/060_transform/117_UBm_F.out create mode 100644 test/060_transform/118_URr_U.in create mode 100644 test/060_transform/118_URr_U.out create mode 100644 test/060_transform/119_URm_U.in create mode 100644 test/060_transform/119_URm_U.out create mode 100644 test/060_transform/120_URr_R.in create mode 100644 test/060_transform/120_URr_R.out create mode 100644 test/060_transform/121_URm_R.in create mode 100644 test/060_transform/121_URm_R.out create mode 100644 test/060_transform/122_URr_F.in create mode 100644 test/060_transform/122_URr_F.out create mode 100644 test/060_transform/123_URm_F.in create mode 100644 test/060_transform/123_URm_F.out create mode 100644 test/060_transform/124_DFr_U.in create mode 100644 test/060_transform/124_DFr_U.out create mode 100644 test/060_transform/125_DFm_U.in create mode 100644 test/060_transform/125_DFm_U.out create mode 100644 test/060_transform/126_DFr_R.in create mode 100644 test/060_transform/126_DFr_R.out create mode 100644 test/060_transform/127_DFm_R.in create mode 100644 test/060_transform/127_DFm_R.out create mode 100644 test/060_transform/128_DFr_F.in create mode 100644 test/060_transform/128_DFr_F.out create mode 100644 test/060_transform/129_DFm_F.in create mode 100644 test/060_transform/129_DFm_F.out create mode 100644 test/060_transform/130_DLr_U.in create mode 100644 test/060_transform/130_DLr_U.out create mode 100644 test/060_transform/131_DLm_U.in create mode 100644 test/060_transform/131_DLm_U.out create mode 100644 test/060_transform/132_DLr_R.in create mode 100644 test/060_transform/132_DLr_R.out create mode 100644 test/060_transform/133_DLm_R.in create mode 100644 test/060_transform/133_DLm_R.out create mode 100644 test/060_transform/134_DLr_F.in create mode 100644 test/060_transform/134_DLr_F.out create mode 100644 test/060_transform/135_DLm_F.in create mode 100644 test/060_transform/135_DLm_F.out create mode 100644 test/060_transform/136_DBr_U.in create mode 100644 test/060_transform/136_DBr_U.out create mode 100644 test/060_transform/137_DBm_U.in create mode 100644 test/060_transform/137_DBm_U.out create mode 100644 test/060_transform/138_DBr_R.in create mode 100644 test/060_transform/138_DBr_R.out create mode 100644 test/060_transform/139_DBm_R.in create mode 100644 test/060_transform/139_DBm_R.out create mode 100644 test/060_transform/140_DBr_F.in create mode 100644 test/060_transform/140_DBr_F.out create mode 100644 test/060_transform/141_DBm_F.in create mode 100644 test/060_transform/141_DBm_F.out create mode 100644 test/060_transform/142_DRr_U.in create mode 100644 test/060_transform/142_DRr_U.out create mode 100644 test/060_transform/143_DRm_U.in create mode 100644 test/060_transform/143_DRm_U.out create mode 100644 test/060_transform/144_DRr_R.in create mode 100644 test/060_transform/144_DRr_R.out create mode 100644 test/060_transform/145_DRm_R.in create mode 100644 test/060_transform/145_DRm_R.out create mode 100644 test/060_transform/146_DRr_F.in create mode 100644 test/060_transform/146_DRr_F.out create mode 100644 test/060_transform/147_DRm_F.in create mode 100644 test/060_transform/147_DRm_F.out create mode 100644 test/060_transform/148_RUr_U.in create mode 100644 test/060_transform/148_RUr_U.out create mode 100644 test/060_transform/149_RUm_U.in create mode 100644 test/060_transform/149_RUm_U.out create mode 100644 test/060_transform/150_RUr_R.in create mode 100644 test/060_transform/150_RUr_R.out create mode 100644 test/060_transform/151_RUm_R.in create mode 100644 test/060_transform/151_RUm_R.out create mode 100644 test/060_transform/152_RUr_F.in create mode 100644 test/060_transform/152_RUr_F.out create mode 100644 test/060_transform/153_RUm_F.in create mode 100644 test/060_transform/153_RUm_F.out create mode 100644 test/060_transform/154_RFr_U.in create mode 100644 test/060_transform/154_RFr_U.out create mode 100644 test/060_transform/155_RFm_U.in create mode 100644 test/060_transform/155_RFm_U.out create mode 100644 test/060_transform/156_RFr_R.in create mode 100644 test/060_transform/156_RFr_R.out create mode 100644 test/060_transform/157_RFm_R.in create mode 100644 test/060_transform/157_RFm_R.out create mode 100644 test/060_transform/158_RFr_F.in create mode 100644 test/060_transform/158_RFr_F.out create mode 100644 test/060_transform/159_RFm_F.in create mode 100644 test/060_transform/159_RFm_F.out create mode 100644 test/060_transform/160_RDr_U.in create mode 100644 test/060_transform/160_RDr_U.out create mode 100644 test/060_transform/161_RDm_U.in create mode 100644 test/060_transform/161_RDm_U.out create mode 100644 test/060_transform/162_RDr_R.in create mode 100644 test/060_transform/162_RDr_R.out create mode 100644 test/060_transform/163_RDm_R.in create mode 100644 test/060_transform/163_RDm_R.out create mode 100644 test/060_transform/164_RDr_F.in create mode 100644 test/060_transform/164_RDr_F.out create mode 100644 test/060_transform/165_RDm_F.in create mode 100644 test/060_transform/165_RDm_F.out create mode 100644 test/060_transform/166_RBr_U.in create mode 100644 test/060_transform/166_RBr_U.out create mode 100644 test/060_transform/167_RBm_U.in create mode 100644 test/060_transform/167_RBm_U.out create mode 100644 test/060_transform/168_RBr_R.in create mode 100644 test/060_transform/168_RBr_R.out create mode 100644 test/060_transform/169_RBm_R.in create mode 100644 test/060_transform/169_RBm_R.out create mode 100644 test/060_transform/170_RBr_F.in create mode 100644 test/060_transform/170_RBr_F.out create mode 100644 test/060_transform/171_RBm_F.in create mode 100644 test/060_transform/171_RBm_F.out create mode 100644 test/060_transform/172_LUr_U.in create mode 100644 test/060_transform/172_LUr_U.out create mode 100644 test/060_transform/173_LUm_U.in create mode 100644 test/060_transform/173_LUm_U.out create mode 100644 test/060_transform/174_LUr_R.in create mode 100644 test/060_transform/174_LUr_R.out create mode 100644 test/060_transform/175_LUm_R.in create mode 100644 test/060_transform/175_LUm_R.out create mode 100644 test/060_transform/176_LUr_F.in create mode 100644 test/060_transform/176_LUr_F.out create mode 100644 test/060_transform/177_LUm_F.in create mode 100644 test/060_transform/177_LUm_F.out create mode 100644 test/060_transform/178_LFr_U.in create mode 100644 test/060_transform/178_LFr_U.out create mode 100644 test/060_transform/179_LFm_U.in create mode 100644 test/060_transform/179_LFm_U.out create mode 100644 test/060_transform/180_LFr_R.in create mode 100644 test/060_transform/180_LFr_R.out create mode 100644 test/060_transform/181_LFm_R.in create mode 100644 test/060_transform/181_LFm_R.out create mode 100644 test/060_transform/182_LFr_F.in create mode 100644 test/060_transform/182_LFr_F.out create mode 100644 test/060_transform/183_LFm_F.in create mode 100644 test/060_transform/183_LFm_F.out create mode 100644 test/060_transform/184_LDr_U.in create mode 100644 test/060_transform/184_LDr_U.out create mode 100644 test/060_transform/185_LDm_U.in create mode 100644 test/060_transform/185_LDm_U.out create mode 100644 test/060_transform/186_LDr_R.in create mode 100644 test/060_transform/186_LDr_R.out create mode 100644 test/060_transform/187_LDm_R.in create mode 100644 test/060_transform/187_LDm_R.out create mode 100644 test/060_transform/188_LDr_F.in create mode 100644 test/060_transform/188_LDr_F.out create mode 100644 test/060_transform/189_LDm_F.in create mode 100644 test/060_transform/189_LDm_F.out create mode 100644 test/060_transform/190_LBr_U.in create mode 100644 test/060_transform/190_LBr_U.out create mode 100644 test/060_transform/191_LBm_U.in create mode 100644 test/060_transform/191_LBm_U.out create mode 100644 test/060_transform/192_LBr_R.in create mode 100644 test/060_transform/192_LBr_R.out create mode 100644 test/060_transform/193_LBm_R.in create mode 100644 test/060_transform/193_LBm_R.out create mode 100644 test/060_transform/194_LBr_F.in create mode 100644 test/060_transform/194_LBr_F.out create mode 100644 test/060_transform/195_LBm_F.in create mode 100644 test/060_transform/195_LBm_F.out create mode 100644 test/060_transform/196_FUr_U.in create mode 100644 test/060_transform/196_FUr_U.out create mode 100644 test/060_transform/197_FUm_U.in create mode 100644 test/060_transform/197_FUm_U.out create mode 100644 test/060_transform/198_FUr_R.in create mode 100644 test/060_transform/198_FUr_R.out create mode 100644 test/060_transform/199_FUm_R.in create mode 100644 test/060_transform/199_FUm_R.out create mode 100644 test/060_transform/200_FUr_F.in create mode 100644 test/060_transform/200_FUr_F.out create mode 100644 test/060_transform/201_FUm_F.in create mode 100644 test/060_transform/201_FUm_F.out create mode 100644 test/060_transform/202_FRr_U.in create mode 100644 test/060_transform/202_FRr_U.out create mode 100644 test/060_transform/203_FRm_U.in create mode 100644 test/060_transform/203_FRm_U.out create mode 100644 test/060_transform/204_FRr_R.in create mode 100644 test/060_transform/204_FRr_R.out create mode 100644 test/060_transform/205_FRm_R.in create mode 100644 test/060_transform/205_FRm_R.out create mode 100644 test/060_transform/206_FRr_F.in create mode 100644 test/060_transform/206_FRr_F.out create mode 100644 test/060_transform/207_FRm_F.in create mode 100644 test/060_transform/207_FRm_F.out create mode 100644 test/060_transform/208_FDr_U.in create mode 100644 test/060_transform/208_FDr_U.out create mode 100644 test/060_transform/209_FDm_U.in create mode 100644 test/060_transform/209_FDm_U.out create mode 100644 test/060_transform/210_FDr_R.in create mode 100644 test/060_transform/210_FDr_R.out create mode 100644 test/060_transform/211_FDm_R.in create mode 100644 test/060_transform/211_FDm_R.out create mode 100644 test/060_transform/212_FDr_F.in create mode 100644 test/060_transform/212_FDr_F.out create mode 100644 test/060_transform/213_FDm_F.in create mode 100644 test/060_transform/213_FDm_F.out create mode 100644 test/060_transform/214_FLr_U.in create mode 100644 test/060_transform/214_FLr_U.out create mode 100644 test/060_transform/215_FLm_U.in create mode 100644 test/060_transform/215_FLm_U.out create mode 100644 test/060_transform/216_FLr_R.in create mode 100644 test/060_transform/216_FLr_R.out create mode 100644 test/060_transform/217_FLm_R.in create mode 100644 test/060_transform/217_FLm_R.out create mode 100644 test/060_transform/218_FLr_F.in create mode 100644 test/060_transform/218_FLr_F.out create mode 100644 test/060_transform/219_FLm_F.in create mode 100644 test/060_transform/219_FLm_F.out create mode 100644 test/060_transform/220_BUr_U.in create mode 100644 test/060_transform/220_BUr_U.out create mode 100644 test/060_transform/221_BUm_U.in create mode 100644 test/060_transform/221_BUm_U.out create mode 100644 test/060_transform/222_BUr_R.in create mode 100644 test/060_transform/222_BUr_R.out create mode 100644 test/060_transform/223_BUm_R.in create mode 100644 test/060_transform/223_BUm_R.out create mode 100644 test/060_transform/224_BUr_F.in create mode 100644 test/060_transform/224_BUr_F.out create mode 100644 test/060_transform/225_BUm_F.in create mode 100644 test/060_transform/225_BUm_F.out create mode 100644 test/060_transform/226_BRr_U.in create mode 100644 test/060_transform/226_BRr_U.out create mode 100644 test/060_transform/227_BRm_U.in create mode 100644 test/060_transform/227_BRm_U.out create mode 100644 test/060_transform/228_BRr_R.in create mode 100644 test/060_transform/228_BRr_R.out create mode 100644 test/060_transform/229_BRm_R.in create mode 100644 test/060_transform/229_BRm_R.out create mode 100644 test/060_transform/230_BRr_F.in create mode 100644 test/060_transform/230_BRr_F.out create mode 100644 test/060_transform/231_BRm_F.in create mode 100644 test/060_transform/231_BRm_F.out create mode 100644 test/060_transform/232_BDr_U.in create mode 100644 test/060_transform/232_BDr_U.out create mode 100644 test/060_transform/233_BDm_U.in create mode 100644 test/060_transform/233_BDm_U.out create mode 100644 test/060_transform/234_BDr_R.in create mode 100644 test/060_transform/234_BDr_R.out create mode 100644 test/060_transform/235_BDm_R.in create mode 100644 test/060_transform/235_BDm_R.out create mode 100644 test/060_transform/236_BDr_F.in create mode 100644 test/060_transform/236_BDr_F.out create mode 100644 test/060_transform/237_BDm_F.in create mode 100644 test/060_transform/237_BDm_F.out create mode 100644 test/060_transform/238_BLr_U.in create mode 100644 test/060_transform/238_BLr_U.out create mode 100644 test/060_transform/239_BLm_U.in create mode 100644 test/060_transform/239_BLm_U.out create mode 100644 test/060_transform/240_BLr_R.in create mode 100644 test/060_transform/240_BLr_R.out create mode 100644 test/060_transform/241_BLm_R.in create mode 100644 test/060_transform/241_BLm_R.out create mode 100644 test/060_transform/242_BLr_F.in create mode 100644 test/060_transform/242_BLr_F.out create mode 100644 test/060_transform/243_BLm_F.in create mode 100644 test/060_transform/243_BLm_F.out create mode 100644 test/060_transform/transform_tests.c create mode 100644 test/061_inverse_trans/00_all.in create mode 100644 test/061_inverse_trans/00_all.out create mode 100644 test/061_inverse_trans/inverse_trans_tests.c create mode 100644 test/071_coord_eo/00_solved.in create mode 100644 test/071_coord_eo/00_solved.out create mode 100644 test/071_coord_eo/01_U.in create mode 100644 test/071_coord_eo/01_U.out create mode 100644 test/071_coord_eo/02_U2.in create mode 100644 test/071_coord_eo/02_U2.out create mode 100644 test/071_coord_eo/03_U3.in create mode 100644 test/071_coord_eo/03_U3.out create mode 100644 test/071_coord_eo/04_D.in create mode 100644 test/071_coord_eo/04_D.out create mode 100644 test/071_coord_eo/07_R.in create mode 100644 test/071_coord_eo/07_R.out create mode 100644 test/071_coord_eo/08_R2.in create mode 100644 test/071_coord_eo/08_R2.out create mode 100644 test/071_coord_eo/10_L.in create mode 100644 test/071_coord_eo/10_L.out create mode 100644 test/071_coord_eo/13_F.in create mode 100644 test/071_coord_eo/13_F.out create mode 100644 test/071_coord_eo/14_F2.in create mode 100644 test/071_coord_eo/14_F2.out create mode 100644 test/071_coord_eo/15_F3.in create mode 100644 test/071_coord_eo/15_F3.out create mode 100644 test/071_coord_eo/16_B.in create mode 100644 test/071_coord_eo/16_B.out create mode 100644 test/071_coord_eo/17_B2.in create mode 100644 test/071_coord_eo/17_B2.out create mode 100644 test/071_coord_eo/18_B3.in create mode 100644 test/071_coord_eo/18_B3.out create mode 100644 test/071_coord_eo/20_scrambled.in create mode 100644 test/071_coord_eo/20_scrambled.out create mode 100644 test/071_coord_eo/coord_eo_tests.c create mode 100644 test/072_coord_co/00_solved.in create mode 100644 test/072_coord_co/00_solved.out create mode 100644 test/072_coord_co/01_U.in create mode 100644 test/072_coord_co/01_U.out create mode 100644 test/072_coord_co/02_U2.in create mode 100644 test/072_coord_co/02_U2.out create mode 100644 test/072_coord_co/03_U3.in create mode 100644 test/072_coord_co/03_U3.out create mode 100644 test/072_coord_co/04_D.in create mode 100644 test/072_coord_co/04_D.out create mode 100644 test/072_coord_co/07_R.in create mode 100644 test/072_coord_co/07_R.out create mode 100644 test/072_coord_co/08_R2.in create mode 100644 test/072_coord_co/08_R2.out create mode 100644 test/072_coord_co/10_L.in create mode 100644 test/072_coord_co/10_L.out create mode 100644 test/072_coord_co/13_F.in create mode 100644 test/072_coord_co/13_F.out create mode 100644 test/072_coord_co/14_F2.in create mode 100644 test/072_coord_co/14_F2.out create mode 100644 test/072_coord_co/16_B.in create mode 100644 test/072_coord_co/16_B.out create mode 100644 test/072_coord_co/17_B2.in create mode 100644 test/072_coord_co/17_B2.out create mode 100644 test/072_coord_co/20_scrambled.in create mode 100644 test/072_coord_co/20_scrambled.out create mode 100644 test/072_coord_co/coord_co_tests.c create mode 100644 test/test.h create mode 100755 test/test.sh (limited to 'test') diff --git a/test/000_basic/all.in b/test/000_basic/all.in new file mode 100644 index 0000000..e69de29 diff --git a/test/000_basic/all.out b/test/000_basic/all.out new file mode 100644 index 0000000..892ad22 --- /dev/null +++ b/test/000_basic/all.out @@ -0,0 +1,7 @@ +Solved is solvable +Solved is solved +Zero is NOT solvable +Zero is NOT solved +Solved and Solved are equal +Solved and Zero are NOT equal +Zero and Solved are NOT equal diff --git a/test/000_basic/basic_tests.c b/test/000_basic/basic_tests.c new file mode 100644 index 0000000..c4434c5 --- /dev/null +++ b/test/000_basic/basic_tests.c @@ -0,0 +1,33 @@ +#include "../test.h" + +bool issolved(cube_t); +bool equal(cube_t, cube_t); + +void +check(cube_t cube, char *name) +{ + printf("%s is%s solvable\n", name, issolvable(cube) ? "" : " NOT"); + printf("%s is%s solved\n", name, issolved(cube) ? "" : " NOT"); +} + +void +check2(cube_t cube1, char *name1, cube_t cube2, char *name2) +{ + printf("%s and %s are%s equal\n", name1, name2, + equal(cube1, cube2) ? "" : " NOT"); +} + +int main(void) { + cube_t zero, solved; + + memset(&zero, 0, sizeof(cube_t)); + solved = solvedcube(); + check(solved, "Solved"); + check(zero, "Zero"); + + check2(solved, "Solved", solved, "Solved"); + check2(solved, "Solved", zero, "Zero"); + check2(zero, "Zero", solved, "Solved"); + + return 0; +} diff --git a/test/001_cube_conversion/00_solved.in b/test/001_cube_conversion/00_solved.in new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/001_cube_conversion/00_solved.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/001_cube_conversion/00_solved.out b/test/001_cube_conversion/00_solved.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/001_cube_conversion/00_solved.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/001_cube_conversion/01_scrambled.in b/test/001_cube_conversion/01_scrambled.in new file mode 100644 index 0000000..453cc8a --- /dev/null +++ b/test/001_cube_conversion/01_scrambled.in @@ -0,0 +1 @@ +BL1 DB0 UL1 DF0 BR1 UF1 DL0 FL1 UB0 DR1 FR1 UR1 UBR2 UBL1 DFR2 DBL2 DBR0 DFL0 UFR0 UFL2 diff --git a/test/001_cube_conversion/01_scrambled.out b/test/001_cube_conversion/01_scrambled.out new file mode 100644 index 0000000..453cc8a --- /dev/null +++ b/test/001_cube_conversion/01_scrambled.out @@ -0,0 +1 @@ +BL1 DB0 UL1 DF0 BR1 UF1 DL0 FL1 UB0 DR1 FR1 UR1 UBR2 UBL1 DFR2 DBL2 DBR0 DFL0 UFR0 UFL2 diff --git a/test/001_cube_conversion/cube_conversion_tests.c b/test/001_cube_conversion/cube_conversion_tests.c new file mode 100644 index 0000000..589eb82 --- /dev/null +++ b/test/001_cube_conversion/cube_conversion_tests.c @@ -0,0 +1,27 @@ +#include "../test.h" + +cube_fast_t cubetofast(cube_t); +cube_t fasttocube(cube_fast_t); +bool equal(cube_t, cube_t); + +int main(void) { + char cubestr[STRLENMAX]; + cube_t cube, cube2; + cube_fast_t fast; + + fgets(cubestr, STRLENMAX, stdin); + cube = readcube("H48", cubestr); + fast = cubetofast(cube); + cube2 = fasttocube(fast); + + if (iserror(cube)) { + printf("Error reading cube\n"); + } else if (iserror(cube2)) { + printf("Error converting cube\n"); + } else { + writecube("H48", cube2, cubestr); + printf("%s\n", cubestr); + } + + return 0; +} diff --git a/test/010_math_permsign/00_solved.in b/test/010_math_permsign/00_solved.in new file mode 100644 index 0000000..54b5db0 --- /dev/null +++ b/test/010_math_permsign/00_solved.in @@ -0,0 +1,8 @@ +7 +0 +1 +2 +3 +4 +5 +6 diff --git a/test/010_math_permsign/00_solved.out b/test/010_math_permsign/00_solved.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/010_math_permsign/00_solved.out @@ -0,0 +1 @@ +0 diff --git a/test/010_math_permsign/01_3cycle.in b/test/010_math_permsign/01_3cycle.in new file mode 100644 index 0000000..bfabfd6 --- /dev/null +++ b/test/010_math_permsign/01_3cycle.in @@ -0,0 +1,6 @@ +5 +0 +4 +1 +3 +2 diff --git a/test/010_math_permsign/01_3cycle.out b/test/010_math_permsign/01_3cycle.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/010_math_permsign/01_3cycle.out @@ -0,0 +1 @@ +0 diff --git a/test/010_math_permsign/02_22swap.in b/test/010_math_permsign/02_22swap.in new file mode 100644 index 0000000..d0b0921 --- /dev/null +++ b/test/010_math_permsign/02_22swap.in @@ -0,0 +1,13 @@ +12 +0 +1 +8 +3 +5 +4 +6 +7 +2 +9 +10 +11 diff --git a/test/010_math_permsign/02_22swap.out b/test/010_math_permsign/02_22swap.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/010_math_permsign/02_22swap.out @@ -0,0 +1 @@ +0 diff --git a/test/010_math_permsign/03_singleswap.in b/test/010_math_permsign/03_singleswap.in new file mode 100644 index 0000000..42a584b --- /dev/null +++ b/test/010_math_permsign/03_singleswap.in @@ -0,0 +1,7 @@ +6 +4 +1 +2 +3 +0 +5 diff --git a/test/010_math_permsign/03_singleswap.out b/test/010_math_permsign/03_singleswap.out new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/test/010_math_permsign/03_singleswap.out @@ -0,0 +1 @@ +1 diff --git a/test/010_math_permsign/04_5ycle.in b/test/010_math_permsign/04_5ycle.in new file mode 100644 index 0000000..630f6fa --- /dev/null +++ b/test/010_math_permsign/04_5ycle.in @@ -0,0 +1,11 @@ +10 +0 +1 +6 +2 +3 +4 +5 +7 +8 +9 diff --git a/test/010_math_permsign/04_5ycle.out b/test/010_math_permsign/04_5ycle.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/010_math_permsign/04_5ycle.out @@ -0,0 +1 @@ +0 diff --git a/test/010_math_permsign/05_6ycle.in b/test/010_math_permsign/05_6ycle.in new file mode 100644 index 0000000..a226bae --- /dev/null +++ b/test/010_math_permsign/05_6ycle.in @@ -0,0 +1,9 @@ +8 +6 +0 +1 +3 +2 +4 +5 +7 diff --git a/test/010_math_permsign/05_6ycle.out b/test/010_math_permsign/05_6ycle.out new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/test/010_math_permsign/05_6ycle.out @@ -0,0 +1 @@ +1 diff --git a/test/010_math_permsign/permsgn_tests.c b/test/010_math_permsign/permsgn_tests.c new file mode 100644 index 0000000..46c7377 --- /dev/null +++ b/test/010_math_permsign/permsgn_tests.c @@ -0,0 +1,22 @@ +#include "../test.h" + +int permsign(uint8_t *, int); + +int main(void) { + char str[STRLENMAX]; + uint8_t a[100]; + int n, i, p; + + fgets(str, STRLENMAX, stdin); + n = atoi(str); + + for (i = 0; i < n; i++) { + fgets(str, STRLENMAX, stdin); + a[i] = atoi(str); + } + + p = permsign(a, n); + printf("%d\n", p); + + return 0; +} diff --git a/test/020_io_H48_read_write/00_garbage.in b/test/020_io_H48_read_write/00_garbage.in new file mode 100644 index 0000000..9ac203a --- /dev/null +++ b/test/020_io_H48_read_write/00_garbage.in @@ -0,0 +1,3 @@ +FUF0 UBBBR2 k4 +hello +garbage diff --git a/test/020_io_H48_read_write/00_garbage.out b/test/020_io_H48_read_write/00_garbage.out new file mode 100644 index 0000000..5b9114e --- /dev/null +++ b/test/020_io_H48_read_write/00_garbage.out @@ -0,0 +1 @@ +Error reading cube diff --git a/test/020_io_H48_read_write/01_solved_oneline.in b/test/020_io_H48_read_write/01_solved_oneline.in new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/020_io_H48_read_write/01_solved_oneline.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/020_io_H48_read_write/01_solved_oneline.out b/test/020_io_H48_read_write/01_solved_oneline.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/020_io_H48_read_write/01_solved_oneline.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/020_io_H48_read_write/02_solved_oneline_whitespace.in b/test/020_io_H48_read_write/02_solved_oneline_whitespace.in new file mode 100644 index 0000000..5d10368 --- /dev/null +++ b/test/020_io_H48_read_write/02_solved_oneline_whitespace.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/020_io_H48_read_write/02_solved_oneline_whitespace.out b/test/020_io_H48_read_write/02_solved_oneline_whitespace.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/020_io_H48_read_write/02_solved_oneline_whitespace.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/020_io_H48_read_write/03_solved_multiline.in b/test/020_io_H48_read_write/03_solved_multiline.in new file mode 100644 index 0000000..9f9652b --- /dev/null +++ b/test/020_io_H48_read_write/03_solved_multiline.in @@ -0,0 +1,9 @@ +UF0 UB0 +DB0 DF0 UR0 UL0 DL0 +DR0 FR0 FL0 BL0 BR0 UFR0 + +UBL0 DFL0 DBR0 + + +UFL0 UBR0 DFR0 + DBL0 diff --git a/test/020_io_H48_read_write/03_solved_multiline.out b/test/020_io_H48_read_write/03_solved_multiline.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/020_io_H48_read_write/03_solved_multiline.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/020_io_H48_read_write/04_unsolvable_ep.in b/test/020_io_H48_read_write/04_unsolvable_ep.in new file mode 100644 index 0000000..8483962 --- /dev/null +++ b/test/020_io_H48_read_write/04_unsolvable_ep.in @@ -0,0 +1 @@ +UB0 UF0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/020_io_H48_read_write/04_unsolvable_ep.out b/test/020_io_H48_read_write/04_unsolvable_ep.out new file mode 100644 index 0000000..e35c6e4 --- /dev/null +++ b/test/020_io_H48_read_write/04_unsolvable_ep.out @@ -0,0 +1 @@ +Cube is not solvable diff --git a/test/020_io_H48_read_write/05_unsolvable_eo.in b/test/020_io_H48_read_write/05_unsolvable_eo.in new file mode 100644 index 0000000..a92089d --- /dev/null +++ b/test/020_io_H48_read_write/05_unsolvable_eo.in @@ -0,0 +1 @@ +UF1 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/020_io_H48_read_write/05_unsolvable_eo.out b/test/020_io_H48_read_write/05_unsolvable_eo.out new file mode 100644 index 0000000..e35c6e4 --- /dev/null +++ b/test/020_io_H48_read_write/05_unsolvable_eo.out @@ -0,0 +1 @@ +Cube is not solvable diff --git a/test/020_io_H48_read_write/06_unsolvable_cp.in b/test/020_io_H48_read_write/06_unsolvable_cp.in new file mode 100644 index 0000000..2085dd5 --- /dev/null +++ b/test/020_io_H48_read_write/06_unsolvable_cp.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UBL0 UFR0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/020_io_H48_read_write/06_unsolvable_cp.out b/test/020_io_H48_read_write/06_unsolvable_cp.out new file mode 100644 index 0000000..e35c6e4 --- /dev/null +++ b/test/020_io_H48_read_write/06_unsolvable_cp.out @@ -0,0 +1 @@ +Cube is not solvable diff --git a/test/020_io_H48_read_write/07_unsolvable_co.in b/test/020_io_H48_read_write/07_unsolvable_co.in new file mode 100644 index 0000000..abd74e2 --- /dev/null +++ b/test/020_io_H48_read_write/07_unsolvable_co.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR1 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/020_io_H48_read_write/07_unsolvable_co.out b/test/020_io_H48_read_write/07_unsolvable_co.out new file mode 100644 index 0000000..e35c6e4 --- /dev/null +++ b/test/020_io_H48_read_write/07_unsolvable_co.out @@ -0,0 +1 @@ +Cube is not solvable diff --git a/test/020_io_H48_read_write/08_unsolved.in b/test/020_io_H48_read_write/08_unsolved.in new file mode 100644 index 0000000..c992ce7 --- /dev/null +++ b/test/020_io_H48_read_write/08_unsolved.in @@ -0,0 +1,6 @@ +UL1 DR0 UB0 DL1 +UR0 FR1 DB0 BR0 +UF1 DF0 BL0 FL0 + +UBL0 DLF1 DBR2 UFR1 +DFR1 UBR1 UFL0 DBL0 diff --git a/test/020_io_H48_read_write/08_unsolved.out b/test/020_io_H48_read_write/08_unsolved.out new file mode 100644 index 0000000..8c132cf --- /dev/null +++ b/test/020_io_H48_read_write/08_unsolved.out @@ -0,0 +1 @@ +UL1 DR0 UB0 DL1 UR0 FR1 DB0 BR0 UF1 DF0 BL0 FL0 UBL0 DFL1 DBR2 UFR1 DFR1 UBR1 UFL0 DBL0 diff --git a/test/020_io_H48_read_write/io_H48_tests.c b/test/020_io_H48_read_write/io_H48_tests.c new file mode 100644 index 0000000..705356c --- /dev/null +++ b/test/020_io_H48_read_write/io_H48_tests.c @@ -0,0 +1,24 @@ +#include "../test.h" + +int main(void) { + char str[STRLENMAX], *aux; + cube_t cube; + + aux = str; + while (fgets(aux, STRLENMAX, stdin) != NULL) + while (*aux != '\n') + aux++; + + cube = readcube("H48", str); + + if (iserror(cube)) { + printf("Error reading cube\n"); + } else if (!issolvable(cube)) { + printf("Cube is not solvable\n"); + } else { + writecube("H48", cube, str); + printf("%s\n", str); + } + + return 0; +} diff --git a/test/023_io_LST_write/01_solved.in b/test/023_io_LST_write/01_solved.in new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/023_io_LST_write/01_solved.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/023_io_LST_write/01_solved.out b/test/023_io_LST_write/01_solved.out new file mode 100644 index 0000000..c5b394b --- /dev/null +++ b/test/023_io_LST_write/01_solved.out @@ -0,0 +1 @@ +0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 diff --git a/test/023_io_LST_write/02_scrambled.in b/test/023_io_LST_write/02_scrambled.in new file mode 100644 index 0000000..6a05bbc --- /dev/null +++ b/test/023_io_LST_write/02_scrambled.in @@ -0,0 +1 @@ +FL0 DB0 UB1 FR0 UR0 DF0 UF0 BR1 UL1 BL1 DL0 DR0 DFR1 UFR1 UBR1 UFL2 DBR2 DFL0 DBL2 UBL0 diff --git a/test/023_io_LST_write/02_scrambled.out b/test/023_io_LST_write/02_scrambled.out new file mode 100644 index 0000000..9fcb603 --- /dev/null +++ b/test/023_io_LST_write/02_scrambled.out @@ -0,0 +1 @@ +38, 32, 37, 68, 67, 2, 71, 1, 9, 2, 17, 8, 4, 3, 0, 27, 21, 26, 6, 7 diff --git a/test/023_io_LST_write/io_LST_tests.c b/test/023_io_LST_write/io_LST_tests.c new file mode 100644 index 0000000..df35632 --- /dev/null +++ b/test/023_io_LST_write/io_LST_tests.c @@ -0,0 +1,24 @@ +#include "../test.h" + +int main(void) { + char str[STRLENMAX], *aux; + cube_t cube; + + aux = str; + while (fgets(aux, STRLENMAX, stdin) != NULL) + while (*aux != '\n') + aux++; + + cube = readcube("H48", str); + + if (iserror(cube)) { + printf("Error reading cube\n"); + } else if (!issolvable(cube)) { + printf("Cube is not solvable\n"); + } else { + writecube("LST", cube, str); + printf("%s\n", str); + } + + return 0; +} diff --git a/test/024_io_LST_read/01_solved.in b/test/024_io_LST_read/01_solved.in new file mode 100644 index 0000000..c5b394b --- /dev/null +++ b/test/024_io_LST_read/01_solved.in @@ -0,0 +1 @@ +0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 diff --git a/test/024_io_LST_read/01_solved.out b/test/024_io_LST_read/01_solved.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/024_io_LST_read/01_solved.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/024_io_LST_read/02_scrambled.in b/test/024_io_LST_read/02_scrambled.in new file mode 100644 index 0000000..9fcb603 --- /dev/null +++ b/test/024_io_LST_read/02_scrambled.in @@ -0,0 +1 @@ +38, 32, 37, 68, 67, 2, 71, 1, 9, 2, 17, 8, 4, 3, 0, 27, 21, 26, 6, 7 diff --git a/test/024_io_LST_read/02_scrambled.out b/test/024_io_LST_read/02_scrambled.out new file mode 100644 index 0000000..6a05bbc --- /dev/null +++ b/test/024_io_LST_read/02_scrambled.out @@ -0,0 +1 @@ +FL0 DB0 UB1 FR0 UR0 DF0 UF0 BR1 UL1 BL1 DL0 DR0 DFR1 UFR1 UBR1 UFL2 DBR2 DFL0 DBL2 UBL0 diff --git a/test/024_io_LST_read/io_LST_tests.c b/test/024_io_LST_read/io_LST_tests.c new file mode 100644 index 0000000..506a23d --- /dev/null +++ b/test/024_io_LST_read/io_LST_tests.c @@ -0,0 +1,24 @@ +#include "../test.h" + +int main(void) { + char str[STRLENMAX], *aux; + cube_t cube; + + aux = str; + while (fgets(aux, STRLENMAX, stdin) != NULL) + while (*aux != '\n') + aux++; + + cube = readcube("LST", str); + + if (iserror(cube)) { + printf("Error reading cube\n"); + } else if (!issolvable(cube)) { + printf("Cube is not solvable\n"); + } else { + writecube("H48", cube, str); + printf("%s\n", str); + } + + return 0; +} diff --git a/test/030_move/000_nomove_solved.in b/test/030_move/000_nomove_solved.in new file mode 100644 index 0000000..07cf178 --- /dev/null +++ b/test/030_move/000_nomove_solved.in @@ -0,0 +1,2 @@ + +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/000_nomove_solved.out b/test/030_move/000_nomove_solved.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/030_move/000_nomove_solved.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/001_nomove_scrambled.in b/test/030_move/001_nomove_scrambled.in new file mode 100644 index 0000000..fd1d23c --- /dev/null +++ b/test/030_move/001_nomove_scrambled.in @@ -0,0 +1,2 @@ + +BR0 DF1 DL1 FR0 UB1 DR1 UF0 UR0 UL0 FL1 BL0 DB1 UBL0 DBR1 UFL1 DFR2 UFR0 UBR1 DBL1 DFL0 diff --git a/test/030_move/001_nomove_scrambled.out b/test/030_move/001_nomove_scrambled.out new file mode 100644 index 0000000..bd2cca0 --- /dev/null +++ b/test/030_move/001_nomove_scrambled.out @@ -0,0 +1 @@ +BR0 DF1 DL1 FR0 UB1 DR1 UF0 UR0 UL0 FL1 BL0 DB1 UBL0 DBR1 UFL1 DFR2 UFR0 UBR1 DBL1 DFL0 diff --git a/test/030_move/010_U_solved.in b/test/030_move/010_U_solved.in new file mode 100644 index 0000000..62495cb --- /dev/null +++ b/test/030_move/010_U_solved.in @@ -0,0 +1,2 @@ +U +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/010_U_solved.out b/test/030_move/010_U_solved.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/030_move/010_U_solved.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/030_move/011_U_scrambled.in b/test/030_move/011_U_scrambled.in new file mode 100644 index 0000000..012faaf --- /dev/null +++ b/test/030_move/011_U_scrambled.in @@ -0,0 +1,2 @@ +U +BR0 DF1 DL1 FR0 UB1 DR1 UF0 UR0 UL0 FL1 BL0 DB1 UBL0 DBR1 UFL1 DFR2 UFR0 UBR1 DBL1 DFL0 diff --git a/test/030_move/011_U_scrambled.out b/test/030_move/011_U_scrambled.out new file mode 100644 index 0000000..46d2ef7 --- /dev/null +++ b/test/030_move/011_U_scrambled.out @@ -0,0 +1 @@ +UB1 DR1 DL1 FR0 DF1 BR0 UF0 UR0 UL0 FL1 BL0 DB1 UBR1 UFR0 UFL1 DFR2 UBL0 DBR1 DBL1 DFL0 diff --git a/test/030_move/012_U_inverse.in b/test/030_move/012_U_inverse.in new file mode 100644 index 0000000..2aa7ffa --- /dev/null +++ b/test/030_move/012_U_inverse.in @@ -0,0 +1,2 @@ +U +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/030_move/012_U_inverse.out b/test/030_move/012_U_inverse.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/030_move/012_U_inverse.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/020_U2_solved.in b/test/030_move/020_U2_solved.in new file mode 100644 index 0000000..ccc84ef --- /dev/null +++ b/test/030_move/020_U2_solved.in @@ -0,0 +1,2 @@ +U2 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/020_U2_solved.out b/test/030_move/020_U2_solved.out new file mode 100644 index 0000000..316ad57 --- /dev/null +++ b/test/030_move/020_U2_solved.out @@ -0,0 +1 @@ +UB0 UF0 DB0 DF0 UL0 UR0 DL0 DR0 FR0 FL0 BL0 BR0 UBL0 UFR0 DFL0 DBR0 UBR0 UFL0 DFR0 DBL0 diff --git a/test/030_move/021_U2_scrambled.in b/test/030_move/021_U2_scrambled.in new file mode 100644 index 0000000..bdc034e --- /dev/null +++ b/test/030_move/021_U2_scrambled.in @@ -0,0 +1,2 @@ +U2 +BR0 DF1 DL1 FR0 UB1 DR1 UF0 UR0 UL0 FL1 BL0 DB1 UBL0 DBR1 UFL1 DFR2 UFR0 UBR1 DBL1 DFL0 diff --git a/test/030_move/021_U2_scrambled.out b/test/030_move/021_U2_scrambled.out new file mode 100644 index 0000000..c89ca1f --- /dev/null +++ b/test/030_move/021_U2_scrambled.out @@ -0,0 +1 @@ +DF1 BR0 DL1 FR0 DR1 UB1 UF0 UR0 UL0 FL1 BL0 DB1 DBR1 UBL0 UFL1 DFR2 UBR1 UFR0 DBL1 DFL0 diff --git a/test/030_move/022_U2_inverse.in b/test/030_move/022_U2_inverse.in new file mode 100644 index 0000000..8ace160 --- /dev/null +++ b/test/030_move/022_U2_inverse.in @@ -0,0 +1,2 @@ +U2 +UB0 UF0 DB0 DF0 UL0 UR0 DL0 DR0 FR0 FL0 BL0 BR0 UBL0 UFR0 DFL0 DBR0 UBR0 UFL0 DFR0 DBL0 diff --git a/test/030_move/022_U2_inverse.out b/test/030_move/022_U2_inverse.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/030_move/022_U2_inverse.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/030_U3_solved.in b/test/030_move/030_U3_solved.in new file mode 100644 index 0000000..49a8847 --- /dev/null +++ b/test/030_move/030_U3_solved.in @@ -0,0 +1,2 @@ +U3 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/030_U3_solved.out b/test/030_move/030_U3_solved.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/030_move/030_U3_solved.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/030_move/031_U3_inverse.in b/test/030_move/031_U3_inverse.in new file mode 100644 index 0000000..44b6ce3 --- /dev/null +++ b/test/030_move/031_U3_inverse.in @@ -0,0 +1,2 @@ +U3 +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/030_move/031_U3_inverse.out b/test/030_move/031_U3_inverse.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/030_move/031_U3_inverse.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/032_U3_scrambled.in b/test/030_move/032_U3_scrambled.in new file mode 100644 index 0000000..a00608c --- /dev/null +++ b/test/030_move/032_U3_scrambled.in @@ -0,0 +1,2 @@ +U3 +UF1 BR0 DL1 UR1 FR1 FL0 UL0 BL1 DR0 DF1 DB0 UB0 UBR2 DFL1 UFL0 DBR1 UBL2 DFR0 DBL2 UFR1 diff --git a/test/030_move/032_U3_scrambled.out b/test/030_move/032_U3_scrambled.out new file mode 100644 index 0000000..7d1e8cd --- /dev/null +++ b/test/030_move/032_U3_scrambled.out @@ -0,0 +1 @@ +FL0 FR1 DL1 UR1 UF1 BR0 UL0 BL1 DR0 DF1 DB0 UB0 UBL2 DFR0 UFL0 DBR1 DFL1 UBR2 DBL2 UFR1 diff --git a/test/030_move/033_U3_with_prime.in b/test/030_move/033_U3_with_prime.in new file mode 100644 index 0000000..95e5405 --- /dev/null +++ b/test/030_move/033_U3_with_prime.in @@ -0,0 +1,2 @@ +U' +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/033_U3_with_prime.out b/test/030_move/033_U3_with_prime.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/030_move/033_U3_with_prime.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/030_move/040_D_solved.in b/test/030_move/040_D_solved.in new file mode 100644 index 0000000..cb5edb7 --- /dev/null +++ b/test/030_move/040_D_solved.in @@ -0,0 +1,2 @@ +D +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/040_D_solved.out b/test/030_move/040_D_solved.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/030_move/040_D_solved.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/030_move/050_D2_solved.in b/test/030_move/050_D2_solved.in new file mode 100644 index 0000000..56f47cd --- /dev/null +++ b/test/030_move/050_D2_solved.in @@ -0,0 +1,2 @@ +D2 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/050_D2_solved.out b/test/030_move/050_D2_solved.out new file mode 100644 index 0000000..13b229e --- /dev/null +++ b/test/030_move/050_D2_solved.out @@ -0,0 +1 @@ +UF0 UB0 DF0 DB0 UR0 UL0 DR0 DL0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBR0 DFL0 UFL0 UBR0 DBL0 DFR0 diff --git a/test/030_move/060_D3_solved.in b/test/030_move/060_D3_solved.in new file mode 100644 index 0000000..64d1dd8 --- /dev/null +++ b/test/030_move/060_D3_solved.in @@ -0,0 +1,2 @@ +D3 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/060_D3_solved.out b/test/030_move/060_D3_solved.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/030_move/060_D3_solved.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/030_move/070_R_solved.in b/test/030_move/070_R_solved.in new file mode 100644 index 0000000..108538a --- /dev/null +++ b/test/030_move/070_R_solved.in @@ -0,0 +1,2 @@ +R +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/070_R_solved.out b/test/030_move/070_R_solved.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/030_move/070_R_solved.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/030_move/071_R_scrambled.in b/test/030_move/071_R_scrambled.in new file mode 100644 index 0000000..0c9dcaf --- /dev/null +++ b/test/030_move/071_R_scrambled.in @@ -0,0 +1,2 @@ +R +UF1 BR0 DL1 UR1 FR1 FL0 UL0 BL1 DR0 DF1 DB0 UB0 UBR2 DFL1 UFL0 DBR1 UBL2 DFR0 DBL2 UFR1 diff --git a/test/030_move/071_R_scrambled.out b/test/030_move/071_R_scrambled.out new file mode 100644 index 0000000..650bcc8 --- /dev/null +++ b/test/030_move/071_R_scrambled.out @@ -0,0 +1 @@ +UF1 BR0 DL1 UR1 DR0 FL0 UL0 UB0 BL1 DF1 DB0 FR1 DBL1 DFL1 UFL0 DFR2 UBL2 UBR0 DBR2 UFR1 diff --git a/test/030_move/080_R2_solved.in b/test/030_move/080_R2_solved.in new file mode 100644 index 0000000..554a084 --- /dev/null +++ b/test/030_move/080_R2_solved.in @@ -0,0 +1,2 @@ +R2 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/080_R2_solved.out b/test/030_move/080_R2_solved.out new file mode 100644 index 0000000..90765e2 --- /dev/null +++ b/test/030_move/080_R2_solved.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 DR0 UL0 DL0 UR0 BR0 FL0 BL0 FR0 DBR0 UBL0 DFL0 UFR0 UFL0 DFR0 UBR0 DBL0 diff --git a/test/030_move/090_R3_solved.in b/test/030_move/090_R3_solved.in new file mode 100644 index 0000000..ca6cfd8 --- /dev/null +++ b/test/030_move/090_R3_solved.in @@ -0,0 +1,2 @@ +R3 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/090_R3_solved.out b/test/030_move/090_R3_solved.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/030_move/090_R3_solved.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/030_move/100_L_solved.in b/test/030_move/100_L_solved.in new file mode 100644 index 0000000..14ebb5f --- /dev/null +++ b/test/030_move/100_L_solved.in @@ -0,0 +1,2 @@ +L +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/100_L_solved.out b/test/030_move/100_L_solved.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/030_move/100_L_solved.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/030_move/110_L2_solved.in b/test/030_move/110_L2_solved.in new file mode 100644 index 0000000..8224bcd --- /dev/null +++ b/test/030_move/110_L2_solved.in @@ -0,0 +1,2 @@ +L2 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/110_L2_solved.out b/test/030_move/110_L2_solved.out new file mode 100644 index 0000000..2498c87 --- /dev/null +++ b/test/030_move/110_L2_solved.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 DL0 UL0 DR0 FR0 BL0 FL0 BR0 UFR0 DFL0 UBL0 DBR0 DBL0 UBR0 DFR0 UFL0 diff --git a/test/030_move/120_L3_solved.in b/test/030_move/120_L3_solved.in new file mode 100644 index 0000000..552d319 --- /dev/null +++ b/test/030_move/120_L3_solved.in @@ -0,0 +1,2 @@ +L3 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/120_L3_solved.out b/test/030_move/120_L3_solved.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/030_move/120_L3_solved.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/030_move/130_F_solved.in b/test/030_move/130_F_solved.in new file mode 100644 index 0000000..abdbd35 --- /dev/null +++ b/test/030_move/130_F_solved.in @@ -0,0 +1,2 @@ +F +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/130_F_solved.out b/test/030_move/130_F_solved.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/030_move/130_F_solved.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/030_move/132_F_scrambled.in b/test/030_move/132_F_scrambled.in new file mode 100644 index 0000000..8b15575 --- /dev/null +++ b/test/030_move/132_F_scrambled.in @@ -0,0 +1,2 @@ +F +DL1 BR0 DR0 UR1 DF0 FL1 BL0 UL0 FR0 UF0 DB1 UB0 UFR0 DBL1 DBR0 UFL1 DFR1 DFL1 UBL2 UBR0 diff --git a/test/030_move/132_F_scrambled.out b/test/030_move/132_F_scrambled.out new file mode 100644 index 0000000..3aea663 --- /dev/null +++ b/test/030_move/132_F_scrambled.out @@ -0,0 +1 @@ +UF1 BR0 DR0 FR1 DF0 FL1 BL0 UL0 DL0 UR0 DB1 UB0 DFR2 DBL1 UBL0 UFL1 DBR2 DFL1 UFR2 UBR0 diff --git a/test/030_move/133_F_scrambled_2.in b/test/030_move/133_F_scrambled_2.in new file mode 100644 index 0000000..fdd5139 --- /dev/null +++ b/test/030_move/133_F_scrambled_2.in @@ -0,0 +1,2 @@ +F +BL1 DB0 UL1 DF0 BR1 UF1 DL0 FL1 UB0 DR1 FR1 UR1 UBR2 UBL1 DFR2 DBL2 DBR0 DFL0 UFR0 UFL2 diff --git a/test/030_move/133_F_scrambled_2.out b/test/030_move/133_F_scrambled_2.out new file mode 100644 index 0000000..3546894 --- /dev/null +++ b/test/030_move/133_F_scrambled_2.out @@ -0,0 +1 @@ +DR0 DB0 UL1 UB1 BR1 UF1 DL0 FL1 BL0 DF1 FR1 UR1 DBR1 UBL1 UFR1 DBL2 DFR1 DFL0 UBR1 UFL2 diff --git a/test/030_move/140_F2_solved.in b/test/030_move/140_F2_solved.in new file mode 100644 index 0000000..83aab30 --- /dev/null +++ b/test/030_move/140_F2_solved.in @@ -0,0 +1,2 @@ +F2 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/140_F2_solved.out b/test/030_move/140_F2_solved.out new file mode 100644 index 0000000..8aa701f --- /dev/null +++ b/test/030_move/140_F2_solved.out @@ -0,0 +1 @@ +DF0 UB0 DB0 UF0 UR0 UL0 DL0 DR0 FL0 FR0 BL0 BR0 DFL0 UBL0 UFR0 DBR0 DFR0 UBR0 UFL0 DBL0 diff --git a/test/030_move/150_F3_solved.in b/test/030_move/150_F3_solved.in new file mode 100644 index 0000000..2c766c1 --- /dev/null +++ b/test/030_move/150_F3_solved.in @@ -0,0 +1,2 @@ +F3 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/150_F3_solved.out b/test/030_move/150_F3_solved.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/030_move/150_F3_solved.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/030_move/160_B_solved.in b/test/030_move/160_B_solved.in new file mode 100644 index 0000000..6062e45 --- /dev/null +++ b/test/030_move/160_B_solved.in @@ -0,0 +1,2 @@ +B +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/160_B_solved.out b/test/030_move/160_B_solved.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/030_move/160_B_solved.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/030_move/170_B2_solved.in b/test/030_move/170_B2_solved.in new file mode 100644 index 0000000..0ff1190 --- /dev/null +++ b/test/030_move/170_B2_solved.in @@ -0,0 +1,2 @@ +B2 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/170_B2_solved.out b/test/030_move/170_B2_solved.out new file mode 100644 index 0000000..9b33e35 --- /dev/null +++ b/test/030_move/170_B2_solved.out @@ -0,0 +1 @@ +UF0 DB0 UB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BR0 BL0 UFR0 DBR0 DFL0 UBL0 UFL0 DBL0 DFR0 UBR0 diff --git a/test/030_move/180_B3_solved.in b/test/030_move/180_B3_solved.in new file mode 100644 index 0000000..c59636f --- /dev/null +++ b/test/030_move/180_B3_solved.in @@ -0,0 +1,2 @@ +B3 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/180_B3_solved.out b/test/030_move/180_B3_solved.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/030_move/180_B3_solved.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/030_move/200_scramble_solved.in b/test/030_move/200_scramble_solved.in new file mode 100644 index 0000000..939d876 --- /dev/null +++ b/test/030_move/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 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/200_scramble_solved.out b/test/030_move/200_scramble_solved.out new file mode 100644 index 0000000..690ff6b --- /dev/null +++ b/test/030_move/200_scramble_solved.out @@ -0,0 +1 @@ +BR0 DF0 FL1 UB0 BL0 FR1 UR1 UL0 DR1 DB0 UF1 DL1 DFL0 DFR0 UFL1 UBL2 DBR1 DBL0 UFR1 UBR1 diff --git a/test/030_move/201_solution_scrambled.in b/test/030_move/201_solution_scrambled.in new file mode 100644 index 0000000..a838b4c --- /dev/null +++ b/test/030_move/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 +BR0 DF0 FL1 UB0 BL0 FR1 UR1 UL0 DR1 DB0 UF1 DL1 DFL0 DFR0 UFL1 UBL2 DBR1 DBL0 UFR1 UBR1 diff --git a/test/030_move/201_solution_scrambled.out b/test/030_move/201_solution_scrambled.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/030_move/201_solution_scrambled.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/300_multimove_solved.in b/test/030_move/300_multimove_solved.in new file mode 100644 index 0000000..e084353 --- /dev/null +++ b/test/030_move/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 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/030_move/300_multimove_solved.out b/test/030_move/300_multimove_solved.out new file mode 100644 index 0000000..6c52430 --- /dev/null +++ b/test/030_move/300_multimove_solved.out @@ -0,0 +1 @@ +UB1 UL0 UF1 DL0 FL0 DB0 BR0 BL0 DF0 FR0 DR0 UR0 UBR1 DFR1 UBL0 DFL2 DBR1 DBL2 UFR1 UFL1 diff --git a/test/030_move/301_multimove_scrambled.in b/test/030_move/301_multimove_scrambled.in new file mode 100644 index 0000000..cc649c0 --- /dev/null +++ b/test/030_move/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 +UB1 UL0 UF1 DL0 FL0 DB0 BR0 BL0 DF0 FR0 DR0 UR0 UBR1 DFR1 UBL0 DFL2 DBR1 DBL2 UFR1 UFL1 diff --git a/test/030_move/301_multimove_scrambled.out b/test/030_move/301_multimove_scrambled.out new file mode 100644 index 0000000..102ac1b --- /dev/null +++ b/test/030_move/301_multimove_scrambled.out @@ -0,0 +1 @@ +UL1 UB0 DL1 UR0 BL1 DR1 BR0 DB0 FL1 UF0 FR1 DF0 DFR2 DFL0 DBL0 UFL0 UBR1 UBL0 UFR2 DBR1 diff --git a/test/030_move/move_tests.c b/test/030_move/move_tests.c new file mode 100644 index 0000000..73e9dbe --- /dev/null +++ b/test/030_move/move_tests.c @@ -0,0 +1,25 @@ +#include "../test.h" + +cube_t applymoves(cube_t, char *); + +int main(void) { + char movestr[STRLENMAX], cubestr[STRLENMAX]; + cube_t cube; + + fgets(movestr, STRLENMAX, stdin); + fgets(cubestr, STRLENMAX, stdin); + cube = readcube("H48", 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("H48", cube, cubestr); + printf("%s\n", cubestr); + } + + return 0; +} diff --git a/test/040_inverse_cube/00_solved.in b/test/040_inverse_cube/00_solved.in new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/040_inverse_cube/00_solved.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/040_inverse_cube/00_solved.out b/test/040_inverse_cube/00_solved.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/040_inverse_cube/00_solved.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/040_inverse_cube/01_scrambled.in b/test/040_inverse_cube/01_scrambled.in new file mode 100644 index 0000000..263213b --- /dev/null +++ b/test/040_inverse_cube/01_scrambled.in @@ -0,0 +1 @@ +DR0 DB0 BL0 DF1 UB0 UR1 FR1 UF0 FL1 DL0 BR1 UL1 DBL2 DFL0 UBR1 DFR2 UFR0 DBR1 UBL0 UFL0 diff --git a/test/040_inverse_cube/01_scrambled.out b/test/040_inverse_cube/01_scrambled.out new file mode 100644 index 0000000..25089c6 --- /dev/null +++ b/test/040_inverse_cube/01_scrambled.out @@ -0,0 +1 @@ +DR0 UR0 UB0 DF1 UL1 BR1 FL0 UF0 DL1 FR1 DB0 BL1 UFL0 DFR0 UBL0 UBR2 DBL0 DFL2 DBR1 UFR1 diff --git a/test/040_inverse_cube/inverse_tests.c b/test/040_inverse_cube/inverse_tests.c new file mode 100644 index 0000000..2ff3bc7 --- /dev/null +++ b/test/040_inverse_cube/inverse_tests.c @@ -0,0 +1,23 @@ +#include "../test.h" + +cube_t inverse(cube_t); + +int main(void) { + char str[STRLENMAX]; + cube_t cube, inv; + + fgets(str, STRLENMAX, stdin); + cube = readcube("H48", str); + inv = inverse(cube); + + if (iserror(inv)) { + printf("Error inverting cube\n"); + } else if (!issolvable(inv)) { + printf("Inverted cube is not solvable\n"); + } else { + writecube("H48", inv, str); + printf("%s\n", str); + } + + return 0; +} diff --git a/test/050_compose/00_solved_solved.in b/test/050_compose/00_solved_solved.in new file mode 100644 index 0000000..4ccdb6e --- /dev/null +++ b/test/050_compose/00_solved_solved.in @@ -0,0 +1,2 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/050_compose/00_solved_solved.out b/test/050_compose/00_solved_solved.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/050_compose/00_solved_solved.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/050_compose/01_solved_U.in b/test/050_compose/01_solved_U.in new file mode 100644 index 0000000..e0559dd --- /dev/null +++ b/test/050_compose/01_solved_U.in @@ -0,0 +1,2 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/050_compose/01_solved_U.out b/test/050_compose/01_solved_U.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/050_compose/01_solved_U.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/050_compose/02_solved_scrambled.in b/test/050_compose/02_solved_scrambled.in new file mode 100644 index 0000000..ad36258 --- /dev/null +++ b/test/050_compose/02_solved_scrambled.in @@ -0,0 +1,2 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 +DR0 DB0 BL0 DF1 UB0 UR1 FR1 UF0 FL1 DL0 BR1 UL1 DBL2 DFL0 UBR1 DFR2 UFR0 DBR1 UBL0 UFL0 diff --git a/test/050_compose/02_solved_scrambled.out b/test/050_compose/02_solved_scrambled.out new file mode 100644 index 0000000..263213b --- /dev/null +++ b/test/050_compose/02_solved_scrambled.out @@ -0,0 +1 @@ +DR0 DB0 BL0 DF1 UB0 UR1 FR1 UF0 FL1 DL0 BR1 UL1 DBL2 DFL0 UBR1 DFR2 UFR0 DBR1 UBL0 UFL0 diff --git a/test/050_compose/11_U_solved.in b/test/050_compose/11_U_solved.in new file mode 100644 index 0000000..5993795 --- /dev/null +++ b/test/050_compose/11_U_solved.in @@ -0,0 +1,2 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/050_compose/11_U_solved.out b/test/050_compose/11_U_solved.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/050_compose/11_U_solved.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/050_compose/12_scrambled_solved.in b/test/050_compose/12_scrambled_solved.in new file mode 100644 index 0000000..3efd52c --- /dev/null +++ b/test/050_compose/12_scrambled_solved.in @@ -0,0 +1,2 @@ +DR0 DB0 BL0 DF1 UB0 UR1 FR1 UF0 FL1 DL0 BR1 UL1 DBL2 DFL0 UBR1 DFR2 UFR0 DBR1 UBL0 UFL0 +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/050_compose/12_scrambled_solved.out b/test/050_compose/12_scrambled_solved.out new file mode 100644 index 0000000..263213b --- /dev/null +++ b/test/050_compose/12_scrambled_solved.out @@ -0,0 +1 @@ +DR0 DB0 BL0 DF1 UB0 UR1 FR1 UF0 FL1 DL0 BR1 UL1 DBL2 DFL0 UBR1 DFR2 UFR0 DBR1 UBL0 UFL0 diff --git a/test/050_compose/20_U_U.in b/test/050_compose/20_U_U.in new file mode 100644 index 0000000..2778e82 --- /dev/null +++ b/test/050_compose/20_U_U.in @@ -0,0 +1,2 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/050_compose/20_U_U.out b/test/050_compose/20_U_U.out new file mode 100644 index 0000000..316ad57 --- /dev/null +++ b/test/050_compose/20_U_U.out @@ -0,0 +1 @@ +UB0 UF0 DB0 DF0 UL0 UR0 DL0 DR0 FR0 FL0 BL0 BR0 UBL0 UFR0 DFL0 DBR0 UBR0 UFL0 DFR0 DBL0 diff --git a/test/050_compose/21_U_Uinverse.in b/test/050_compose/21_U_Uinverse.in new file mode 100644 index 0000000..495220e --- /dev/null +++ b/test/050_compose/21_U_Uinverse.in @@ -0,0 +1,2 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/050_compose/21_U_Uinverse.out b/test/050_compose/21_U_Uinverse.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/050_compose/21_U_Uinverse.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/050_compose/22_F_Finverse.in b/test/050_compose/22_F_Finverse.in new file mode 100644 index 0000000..4a2f1e6 --- /dev/null +++ b/test/050_compose/22_F_Finverse.in @@ -0,0 +1,2 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/050_compose/22_F_Finverse.out b/test/050_compose/22_F_Finverse.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/050_compose/22_F_Finverse.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/050_compose/23_F2_F2.in b/test/050_compose/23_F2_F2.in new file mode 100644 index 0000000..5fd1081 --- /dev/null +++ b/test/050_compose/23_F2_F2.in @@ -0,0 +1,2 @@ +DF0 UB0 DB0 UF0 UR0 UL0 DL0 DR0 FL0 FR0 BL0 BR0 DFL0 UBL0 UFR0 DBR0 DFR0 UBR0 UFL0 DBL0 +DF0 UB0 DB0 UF0 UR0 UL0 DL0 DR0 FL0 FR0 BL0 BR0 DFL0 UBL0 UFR0 DBR0 DFR0 UBR0 UFL0 DBL0 diff --git a/test/050_compose/23_F2_F2.out b/test/050_compose/23_F2_F2.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/050_compose/23_F2_F2.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/050_compose/24_U_F.in b/test/050_compose/24_U_F.in new file mode 100644 index 0000000..d353f95 --- /dev/null +++ b/test/050_compose/24_U_F.in @@ -0,0 +1,2 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/050_compose/24_U_F.out b/test/050_compose/24_U_F.out new file mode 100644 index 0000000..4fda397 --- /dev/null +++ b/test/050_compose/24_U_F.out @@ -0,0 +1 @@ +FL1 UL0 DB0 FR1 UB0 UF0 DL0 DR0 UR1 DF1 BL0 BR0 UFR1 UFL0 DFR1 DBR0 DFL2 UBL0 UBR2 DBL0 diff --git a/test/050_compose/25_F_R.in b/test/050_compose/25_F_R.in new file mode 100644 index 0000000..2cb5455 --- /dev/null +++ b/test/050_compose/25_F_R.in @@ -0,0 +1,2 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/050_compose/25_F_R.out b/test/050_compose/25_F_R.out new file mode 100644 index 0000000..2119f37 --- /dev/null +++ b/test/050_compose/25_F_R.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UF1 UL0 DL0 BR0 DR0 DF1 BL0 UR0 UFR1 UBL0 DFR1 UBR2 DFL2 UFL2 DBR1 DBL0 diff --git a/test/050_compose/30_scrambled_inverse.in b/test/050_compose/30_scrambled_inverse.in new file mode 100644 index 0000000..abf72e2 --- /dev/null +++ b/test/050_compose/30_scrambled_inverse.in @@ -0,0 +1,4 @@ +UL0 BL0 BR1 DL0 FR0 DF0 DB1 DR1 UB0 FL0 UF0 UR1 DFL0 UFR1 DBR1 UBR2 DBL2 DFR0 UFL1 UBL2 +BL0 FR0 DL1 UL0 BR1 UF0 DF0 DR1 UR0 FL0 UB0 DB1 UBL2 DBL1 UFR0 DFL2 DFR2 DBR1 UBR0 UFL1 + +// Scramble: U R D' L D' F L2 D L F B D2 B' L2 F U2 L2 D2 R2 L2 B' diff --git a/test/050_compose/30_scrambled_inverse.out b/test/050_compose/30_scrambled_inverse.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/050_compose/30_scrambled_inverse.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/050_compose/31_scrambled_scrambled.in b/test/050_compose/31_scrambled_scrambled.in new file mode 100644 index 0000000..7fe874c --- /dev/null +++ b/test/050_compose/31_scrambled_scrambled.in @@ -0,0 +1,4 @@ +UL0 BL0 BR1 DL0 FR0 DF0 DB1 DR1 UB0 FL0 UF0 UR1 DFL0 UFR1 DBR1 UBR2 DBL2 DFR0 UFL1 UBL2 +FL1 BR0 DB0 UR1 UF0 UB0 DL0 FR0 UL1 DF1 BL0 DR0 UBL1 DBR1 UFR2 DFR2 DFL2 UBR2 UFL2 DBL0 +// 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/050_compose/31_scrambled_scrambled.out b/test/050_compose/31_scrambled_scrambled.out new file mode 100644 index 0000000..353fb49 --- /dev/null +++ b/test/050_compose/31_scrambled_scrambled.out @@ -0,0 +1 @@ +FL1 UR1 BR1 FR1 UL0 BL0 DB1 UB0 DF1 DL1 UF0 DR1 UFR2 UBR0 DFL2 UFL0 DBR0 DFR2 DBL1 UBL2 diff --git a/test/050_compose/compose_tests.c b/test/050_compose/compose_tests.c new file mode 100644 index 0000000..0ea4eff --- /dev/null +++ b/test/050_compose/compose_tests.c @@ -0,0 +1,26 @@ +#include "../test.h" + +cube_t compose(cube_t, cube_t); + +int main(void) { + char str[STRLENMAX]; + cube_t c1, c2, c3; + + fgets(str, STRLENMAX, stdin); + c1 = readcube("H48", str); + fgets(str, STRLENMAX, stdin); + c2 = readcube("H48", str); + + c3 = compose(c1, c2); + + if (iserror(c3)) { + printf("Error composing cubes\n"); + } else if (!issolvable(c3)) { + printf("Composed cube is not solvable\n"); + } else { + writecube("H48", c3, str); + printf("%s\n", str); + } + + return 0; +} diff --git a/test/060_transform/000_solved_UFr.in b/test/060_transform/000_solved_UFr.in new file mode 100644 index 0000000..aa89e85 --- /dev/null +++ b/test/060_transform/000_solved_UFr.in @@ -0,0 +1,2 @@ +rotation UF +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/060_transform/000_solved_UFr.out b/test/060_transform/000_solved_UFr.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/060_transform/000_solved_UFr.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/060_transform/001_solved_BLm.in b/test/060_transform/001_solved_BLm.in new file mode 100644 index 0000000..43aadb8 --- /dev/null +++ b/test/060_transform/001_solved_BLm.in @@ -0,0 +1,2 @@ +mirrored BL +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/060_transform/001_solved_BLm.out b/test/060_transform/001_solved_BLm.out new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/060_transform/001_solved_BLm.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/060_transform/100_UFr_U.in b/test/060_transform/100_UFr_U.in new file mode 100644 index 0000000..80d7af7 --- /dev/null +++ b/test/060_transform/100_UFr_U.in @@ -0,0 +1,2 @@ +rotation UF +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/100_UFr_U.out b/test/060_transform/100_UFr_U.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/100_UFr_U.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/101_UFm_U.in b/test/060_transform/101_UFm_U.in new file mode 100644 index 0000000..17d110e --- /dev/null +++ b/test/060_transform/101_UFm_U.in @@ -0,0 +1,2 @@ +mirrored UF +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/101_UFm_U.out b/test/060_transform/101_UFm_U.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/101_UFm_U.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/102_UFr_R.in b/test/060_transform/102_UFr_R.in new file mode 100644 index 0000000..96099d6 --- /dev/null +++ b/test/060_transform/102_UFr_R.in @@ -0,0 +1,2 @@ +rotation UF +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/102_UFr_R.out b/test/060_transform/102_UFr_R.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/102_UFr_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/103_UFm_R.in b/test/060_transform/103_UFm_R.in new file mode 100644 index 0000000..c70a8b5 --- /dev/null +++ b/test/060_transform/103_UFm_R.in @@ -0,0 +1,2 @@ +mirrored UF +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/103_UFm_R.out b/test/060_transform/103_UFm_R.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/103_UFm_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/104_UFr_F.in b/test/060_transform/104_UFr_F.in new file mode 100644 index 0000000..0f3585b --- /dev/null +++ b/test/060_transform/104_UFr_F.in @@ -0,0 +1,2 @@ +rotation UF +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/104_UFr_F.out b/test/060_transform/104_UFr_F.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/104_UFr_F.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/105_UFm_F.in b/test/060_transform/105_UFm_F.in new file mode 100644 index 0000000..e7647bc --- /dev/null +++ b/test/060_transform/105_UFm_F.in @@ -0,0 +1,2 @@ +mirrored UF +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/105_UFm_F.out b/test/060_transform/105_UFm_F.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/105_UFm_F.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/106_ULr_U.in b/test/060_transform/106_ULr_U.in new file mode 100644 index 0000000..a02f9c3 --- /dev/null +++ b/test/060_transform/106_ULr_U.in @@ -0,0 +1,2 @@ +rotation UL +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/106_ULr_U.out b/test/060_transform/106_ULr_U.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/106_ULr_U.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/107_ULm_U.in b/test/060_transform/107_ULm_U.in new file mode 100644 index 0000000..73bc6a1 --- /dev/null +++ b/test/060_transform/107_ULm_U.in @@ -0,0 +1,2 @@ +mirrored UL +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/107_ULm_U.out b/test/060_transform/107_ULm_U.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/107_ULm_U.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/108_ULr_R.in b/test/060_transform/108_ULr_R.in new file mode 100644 index 0000000..a7cbbb8 --- /dev/null +++ b/test/060_transform/108_ULr_R.in @@ -0,0 +1,2 @@ +rotation UL +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/108_ULr_R.out b/test/060_transform/108_ULr_R.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/108_ULr_R.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/109_ULm_R.in b/test/060_transform/109_ULm_R.in new file mode 100644 index 0000000..7ecf097 --- /dev/null +++ b/test/060_transform/109_ULm_R.in @@ -0,0 +1,2 @@ +mirrored UL +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/109_ULm_R.out b/test/060_transform/109_ULm_R.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/109_ULm_R.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/110_ULr_F.in b/test/060_transform/110_ULr_F.in new file mode 100644 index 0000000..09a5a9a --- /dev/null +++ b/test/060_transform/110_ULr_F.in @@ -0,0 +1,2 @@ +rotation UL +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/110_ULr_F.out b/test/060_transform/110_ULr_F.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/110_ULr_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/111_ULm_F.in b/test/060_transform/111_ULm_F.in new file mode 100644 index 0000000..711de44 --- /dev/null +++ b/test/060_transform/111_ULm_F.in @@ -0,0 +1,2 @@ +mirrored UL +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/111_ULm_F.out b/test/060_transform/111_ULm_F.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/111_ULm_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/112_UBr_U.in b/test/060_transform/112_UBr_U.in new file mode 100644 index 0000000..ce39549 --- /dev/null +++ b/test/060_transform/112_UBr_U.in @@ -0,0 +1,2 @@ +rotation UB +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/112_UBr_U.out b/test/060_transform/112_UBr_U.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/112_UBr_U.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/113_UBm_U.in b/test/060_transform/113_UBm_U.in new file mode 100644 index 0000000..14ca42a --- /dev/null +++ b/test/060_transform/113_UBm_U.in @@ -0,0 +1,2 @@ +mirrored UB +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/113_UBm_U.out b/test/060_transform/113_UBm_U.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/113_UBm_U.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/114_UBr_R.in b/test/060_transform/114_UBr_R.in new file mode 100644 index 0000000..5a878d8 --- /dev/null +++ b/test/060_transform/114_UBr_R.in @@ -0,0 +1,2 @@ +rotation UB +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/114_UBr_R.out b/test/060_transform/114_UBr_R.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/114_UBr_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/115_UBm_R.in b/test/060_transform/115_UBm_R.in new file mode 100644 index 0000000..a4e3aa8 --- /dev/null +++ b/test/060_transform/115_UBm_R.in @@ -0,0 +1,2 @@ +mirrored UB +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/115_UBm_R.out b/test/060_transform/115_UBm_R.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/115_UBm_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/116_UBr_F.in b/test/060_transform/116_UBr_F.in new file mode 100644 index 0000000..fc34148 --- /dev/null +++ b/test/060_transform/116_UBr_F.in @@ -0,0 +1,2 @@ +rotation UB +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/116_UBr_F.out b/test/060_transform/116_UBr_F.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/116_UBr_F.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/117_UBm_F.in b/test/060_transform/117_UBm_F.in new file mode 100644 index 0000000..79433a7 --- /dev/null +++ b/test/060_transform/117_UBm_F.in @@ -0,0 +1,2 @@ +mirrored UB +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/117_UBm_F.out b/test/060_transform/117_UBm_F.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/117_UBm_F.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/118_URr_U.in b/test/060_transform/118_URr_U.in new file mode 100644 index 0000000..79ca262 --- /dev/null +++ b/test/060_transform/118_URr_U.in @@ -0,0 +1,2 @@ +rotation UR +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/118_URr_U.out b/test/060_transform/118_URr_U.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/118_URr_U.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/119_URm_U.in b/test/060_transform/119_URm_U.in new file mode 100644 index 0000000..4581c22 --- /dev/null +++ b/test/060_transform/119_URm_U.in @@ -0,0 +1,2 @@ +mirrored UR +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/119_URm_U.out b/test/060_transform/119_URm_U.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/119_URm_U.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/120_URr_R.in b/test/060_transform/120_URr_R.in new file mode 100644 index 0000000..4803ca4 --- /dev/null +++ b/test/060_transform/120_URr_R.in @@ -0,0 +1,2 @@ +rotation UR +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/120_URr_R.out b/test/060_transform/120_URr_R.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/120_URr_R.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/121_URm_R.in b/test/060_transform/121_URm_R.in new file mode 100644 index 0000000..df12fd4 --- /dev/null +++ b/test/060_transform/121_URm_R.in @@ -0,0 +1,2 @@ +mirrored UR +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/121_URm_R.out b/test/060_transform/121_URm_R.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/121_URm_R.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/122_URr_F.in b/test/060_transform/122_URr_F.in new file mode 100644 index 0000000..7d06199 --- /dev/null +++ b/test/060_transform/122_URr_F.in @@ -0,0 +1,2 @@ +rotation UR +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/122_URr_F.out b/test/060_transform/122_URr_F.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/122_URr_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/123_URm_F.in b/test/060_transform/123_URm_F.in new file mode 100644 index 0000000..8bc2c20 --- /dev/null +++ b/test/060_transform/123_URm_F.in @@ -0,0 +1,2 @@ +mirrored UR +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/123_URm_F.out b/test/060_transform/123_URm_F.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/123_URm_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/124_DFr_U.in b/test/060_transform/124_DFr_U.in new file mode 100644 index 0000000..67200ec --- /dev/null +++ b/test/060_transform/124_DFr_U.in @@ -0,0 +1,2 @@ +rotation DF +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/124_DFr_U.out b/test/060_transform/124_DFr_U.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/124_DFr_U.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/125_DFm_U.in b/test/060_transform/125_DFm_U.in new file mode 100644 index 0000000..33ae235 --- /dev/null +++ b/test/060_transform/125_DFm_U.in @@ -0,0 +1,2 @@ +mirrored DF +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/125_DFm_U.out b/test/060_transform/125_DFm_U.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/125_DFm_U.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/126_DFr_R.in b/test/060_transform/126_DFr_R.in new file mode 100644 index 0000000..f74ba46 --- /dev/null +++ b/test/060_transform/126_DFr_R.in @@ -0,0 +1,2 @@ +rotation DF +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/126_DFr_R.out b/test/060_transform/126_DFr_R.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/126_DFr_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/127_DFm_R.in b/test/060_transform/127_DFm_R.in new file mode 100644 index 0000000..5d930d2 --- /dev/null +++ b/test/060_transform/127_DFm_R.in @@ -0,0 +1,2 @@ +mirrored DF +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/127_DFm_R.out b/test/060_transform/127_DFm_R.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/127_DFm_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/128_DFr_F.in b/test/060_transform/128_DFr_F.in new file mode 100644 index 0000000..eb04f3b --- /dev/null +++ b/test/060_transform/128_DFr_F.in @@ -0,0 +1,2 @@ +rotation DF +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/128_DFr_F.out b/test/060_transform/128_DFr_F.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/128_DFr_F.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/129_DFm_F.in b/test/060_transform/129_DFm_F.in new file mode 100644 index 0000000..ccd60a7 --- /dev/null +++ b/test/060_transform/129_DFm_F.in @@ -0,0 +1,2 @@ +mirrored DF +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/129_DFm_F.out b/test/060_transform/129_DFm_F.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/129_DFm_F.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/130_DLr_U.in b/test/060_transform/130_DLr_U.in new file mode 100644 index 0000000..4aa7b90 --- /dev/null +++ b/test/060_transform/130_DLr_U.in @@ -0,0 +1,2 @@ +rotation DL +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/130_DLr_U.out b/test/060_transform/130_DLr_U.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/130_DLr_U.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/131_DLm_U.in b/test/060_transform/131_DLm_U.in new file mode 100644 index 0000000..6097c66 --- /dev/null +++ b/test/060_transform/131_DLm_U.in @@ -0,0 +1,2 @@ +mirrored DL +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/131_DLm_U.out b/test/060_transform/131_DLm_U.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/131_DLm_U.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/132_DLr_R.in b/test/060_transform/132_DLr_R.in new file mode 100644 index 0000000..60f1ede --- /dev/null +++ b/test/060_transform/132_DLr_R.in @@ -0,0 +1,2 @@ +rotation DL +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/132_DLr_R.out b/test/060_transform/132_DLr_R.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/132_DLr_R.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/133_DLm_R.in b/test/060_transform/133_DLm_R.in new file mode 100644 index 0000000..018921c --- /dev/null +++ b/test/060_transform/133_DLm_R.in @@ -0,0 +1,2 @@ +mirrored DL +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/133_DLm_R.out b/test/060_transform/133_DLm_R.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/133_DLm_R.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/134_DLr_F.in b/test/060_transform/134_DLr_F.in new file mode 100644 index 0000000..5254f1f --- /dev/null +++ b/test/060_transform/134_DLr_F.in @@ -0,0 +1,2 @@ +rotation DL +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/134_DLr_F.out b/test/060_transform/134_DLr_F.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/134_DLr_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/135_DLm_F.in b/test/060_transform/135_DLm_F.in new file mode 100644 index 0000000..57c8406 --- /dev/null +++ b/test/060_transform/135_DLm_F.in @@ -0,0 +1,2 @@ +mirrored DL +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/135_DLm_F.out b/test/060_transform/135_DLm_F.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/135_DLm_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/136_DBr_U.in b/test/060_transform/136_DBr_U.in new file mode 100644 index 0000000..34f37cb --- /dev/null +++ b/test/060_transform/136_DBr_U.in @@ -0,0 +1,2 @@ +rotation DB +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/136_DBr_U.out b/test/060_transform/136_DBr_U.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/136_DBr_U.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/137_DBm_U.in b/test/060_transform/137_DBm_U.in new file mode 100644 index 0000000..5425205 --- /dev/null +++ b/test/060_transform/137_DBm_U.in @@ -0,0 +1,2 @@ +mirrored DB +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/137_DBm_U.out b/test/060_transform/137_DBm_U.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/137_DBm_U.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/138_DBr_R.in b/test/060_transform/138_DBr_R.in new file mode 100644 index 0000000..99974cd --- /dev/null +++ b/test/060_transform/138_DBr_R.in @@ -0,0 +1,2 @@ +rotation DB +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/138_DBr_R.out b/test/060_transform/138_DBr_R.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/138_DBr_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/139_DBm_R.in b/test/060_transform/139_DBm_R.in new file mode 100644 index 0000000..cb84382 --- /dev/null +++ b/test/060_transform/139_DBm_R.in @@ -0,0 +1,2 @@ +mirrored DB +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/139_DBm_R.out b/test/060_transform/139_DBm_R.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/139_DBm_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/140_DBr_F.in b/test/060_transform/140_DBr_F.in new file mode 100644 index 0000000..1342ce5 --- /dev/null +++ b/test/060_transform/140_DBr_F.in @@ -0,0 +1,2 @@ +rotation DB +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/140_DBr_F.out b/test/060_transform/140_DBr_F.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/140_DBr_F.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/141_DBm_F.in b/test/060_transform/141_DBm_F.in new file mode 100644 index 0000000..a7fb608 --- /dev/null +++ b/test/060_transform/141_DBm_F.in @@ -0,0 +1,2 @@ +mirrored DB +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/141_DBm_F.out b/test/060_transform/141_DBm_F.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/141_DBm_F.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/142_DRr_U.in b/test/060_transform/142_DRr_U.in new file mode 100644 index 0000000..c24b8a3 --- /dev/null +++ b/test/060_transform/142_DRr_U.in @@ -0,0 +1,2 @@ +rotation DR +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/142_DRr_U.out b/test/060_transform/142_DRr_U.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/142_DRr_U.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/143_DRm_U.in b/test/060_transform/143_DRm_U.in new file mode 100644 index 0000000..27d922f --- /dev/null +++ b/test/060_transform/143_DRm_U.in @@ -0,0 +1,2 @@ +mirrored DR +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/143_DRm_U.out b/test/060_transform/143_DRm_U.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/143_DRm_U.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/144_DRr_R.in b/test/060_transform/144_DRr_R.in new file mode 100644 index 0000000..ed38629 --- /dev/null +++ b/test/060_transform/144_DRr_R.in @@ -0,0 +1,2 @@ +rotation DR +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/144_DRr_R.out b/test/060_transform/144_DRr_R.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/144_DRr_R.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/145_DRm_R.in b/test/060_transform/145_DRm_R.in new file mode 100644 index 0000000..e973e52 --- /dev/null +++ b/test/060_transform/145_DRm_R.in @@ -0,0 +1,2 @@ +mirrored DR +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/145_DRm_R.out b/test/060_transform/145_DRm_R.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/145_DRm_R.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/146_DRr_F.in b/test/060_transform/146_DRr_F.in new file mode 100644 index 0000000..03b1d5b --- /dev/null +++ b/test/060_transform/146_DRr_F.in @@ -0,0 +1,2 @@ +rotation DR +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/146_DRr_F.out b/test/060_transform/146_DRr_F.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/146_DRr_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/147_DRm_F.in b/test/060_transform/147_DRm_F.in new file mode 100644 index 0000000..25992d6 --- /dev/null +++ b/test/060_transform/147_DRm_F.in @@ -0,0 +1,2 @@ +mirrored DR +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/147_DRm_F.out b/test/060_transform/147_DRm_F.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/147_DRm_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/148_RUr_U.in b/test/060_transform/148_RUr_U.in new file mode 100644 index 0000000..b808fc6 --- /dev/null +++ b/test/060_transform/148_RUr_U.in @@ -0,0 +1,2 @@ +rotation RU +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/148_RUr_U.out b/test/060_transform/148_RUr_U.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/148_RUr_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/149_RUm_U.in b/test/060_transform/149_RUm_U.in new file mode 100644 index 0000000..55665cb --- /dev/null +++ b/test/060_transform/149_RUm_U.in @@ -0,0 +1,2 @@ +mirrored RU +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/149_RUm_U.out b/test/060_transform/149_RUm_U.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/149_RUm_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/150_RUr_R.in b/test/060_transform/150_RUr_R.in new file mode 100644 index 0000000..94895e0 --- /dev/null +++ b/test/060_transform/150_RUr_R.in @@ -0,0 +1,2 @@ +rotation RU +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/150_RUr_R.out b/test/060_transform/150_RUr_R.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/150_RUr_R.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/151_RUm_R.in b/test/060_transform/151_RUm_R.in new file mode 100644 index 0000000..442548e --- /dev/null +++ b/test/060_transform/151_RUm_R.in @@ -0,0 +1,2 @@ +mirrored RU +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/151_RUm_R.out b/test/060_transform/151_RUm_R.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/151_RUm_R.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/152_RUr_F.in b/test/060_transform/152_RUr_F.in new file mode 100644 index 0000000..07bb28e --- /dev/null +++ b/test/060_transform/152_RUr_F.in @@ -0,0 +1,2 @@ +rotation RU +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/152_RUr_F.out b/test/060_transform/152_RUr_F.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/152_RUr_F.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/153_RUm_F.in b/test/060_transform/153_RUm_F.in new file mode 100644 index 0000000..d3364d0 --- /dev/null +++ b/test/060_transform/153_RUm_F.in @@ -0,0 +1,2 @@ +mirrored RU +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/153_RUm_F.out b/test/060_transform/153_RUm_F.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/153_RUm_F.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/154_RFr_U.in b/test/060_transform/154_RFr_U.in new file mode 100644 index 0000000..ddec358 --- /dev/null +++ b/test/060_transform/154_RFr_U.in @@ -0,0 +1,2 @@ +rotation RF +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/154_RFr_U.out b/test/060_transform/154_RFr_U.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/154_RFr_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/155_RFm_U.in b/test/060_transform/155_RFm_U.in new file mode 100644 index 0000000..bd4b0e5 --- /dev/null +++ b/test/060_transform/155_RFm_U.in @@ -0,0 +1,2 @@ +mirrored RF +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/155_RFm_U.out b/test/060_transform/155_RFm_U.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/155_RFm_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/156_RFr_R.in b/test/060_transform/156_RFr_R.in new file mode 100644 index 0000000..5263302 --- /dev/null +++ b/test/060_transform/156_RFr_R.in @@ -0,0 +1,2 @@ +rotation RF +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/156_RFr_R.out b/test/060_transform/156_RFr_R.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/156_RFr_R.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/157_RFm_R.in b/test/060_transform/157_RFm_R.in new file mode 100644 index 0000000..42c4e14 --- /dev/null +++ b/test/060_transform/157_RFm_R.in @@ -0,0 +1,2 @@ +mirrored RF +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/157_RFm_R.out b/test/060_transform/157_RFm_R.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/157_RFm_R.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/158_RFr_F.in b/test/060_transform/158_RFr_F.in new file mode 100644 index 0000000..dc60055 --- /dev/null +++ b/test/060_transform/158_RFr_F.in @@ -0,0 +1,2 @@ +rotation RF +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/158_RFr_F.out b/test/060_transform/158_RFr_F.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/158_RFr_F.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/159_RFm_F.in b/test/060_transform/159_RFm_F.in new file mode 100644 index 0000000..046926a --- /dev/null +++ b/test/060_transform/159_RFm_F.in @@ -0,0 +1,2 @@ +mirrored RF +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/159_RFm_F.out b/test/060_transform/159_RFm_F.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/159_RFm_F.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/160_RDr_U.in b/test/060_transform/160_RDr_U.in new file mode 100644 index 0000000..3bac222 --- /dev/null +++ b/test/060_transform/160_RDr_U.in @@ -0,0 +1,2 @@ +rotation RD +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/160_RDr_U.out b/test/060_transform/160_RDr_U.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/160_RDr_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/161_RDm_U.in b/test/060_transform/161_RDm_U.in new file mode 100644 index 0000000..e5e4bba --- /dev/null +++ b/test/060_transform/161_RDm_U.in @@ -0,0 +1,2 @@ +mirrored RD +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/161_RDm_U.out b/test/060_transform/161_RDm_U.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/161_RDm_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/162_RDr_R.in b/test/060_transform/162_RDr_R.in new file mode 100644 index 0000000..d1e5f31 --- /dev/null +++ b/test/060_transform/162_RDr_R.in @@ -0,0 +1,2 @@ +rotation RD +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/162_RDr_R.out b/test/060_transform/162_RDr_R.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/162_RDr_R.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/163_RDm_R.in b/test/060_transform/163_RDm_R.in new file mode 100644 index 0000000..8b1ee98 --- /dev/null +++ b/test/060_transform/163_RDm_R.in @@ -0,0 +1,2 @@ +mirrored RD +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/163_RDm_R.out b/test/060_transform/163_RDm_R.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/163_RDm_R.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/164_RDr_F.in b/test/060_transform/164_RDr_F.in new file mode 100644 index 0000000..4b49b13 --- /dev/null +++ b/test/060_transform/164_RDr_F.in @@ -0,0 +1,2 @@ +rotation RD +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/164_RDr_F.out b/test/060_transform/164_RDr_F.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/164_RDr_F.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/165_RDm_F.in b/test/060_transform/165_RDm_F.in new file mode 100644 index 0000000..db4f4ee --- /dev/null +++ b/test/060_transform/165_RDm_F.in @@ -0,0 +1,2 @@ +mirrored RD +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/165_RDm_F.out b/test/060_transform/165_RDm_F.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/165_RDm_F.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/166_RBr_U.in b/test/060_transform/166_RBr_U.in new file mode 100644 index 0000000..48f85f1 --- /dev/null +++ b/test/060_transform/166_RBr_U.in @@ -0,0 +1,2 @@ +rotation RB +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/166_RBr_U.out b/test/060_transform/166_RBr_U.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/166_RBr_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/167_RBm_U.in b/test/060_transform/167_RBm_U.in new file mode 100644 index 0000000..036bb07 --- /dev/null +++ b/test/060_transform/167_RBm_U.in @@ -0,0 +1,2 @@ +mirrored RB +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/167_RBm_U.out b/test/060_transform/167_RBm_U.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/167_RBm_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/168_RBr_R.in b/test/060_transform/168_RBr_R.in new file mode 100644 index 0000000..94f799c --- /dev/null +++ b/test/060_transform/168_RBr_R.in @@ -0,0 +1,2 @@ +rotation RB +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/168_RBr_R.out b/test/060_transform/168_RBr_R.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/168_RBr_R.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/169_RBm_R.in b/test/060_transform/169_RBm_R.in new file mode 100644 index 0000000..46cce80 --- /dev/null +++ b/test/060_transform/169_RBm_R.in @@ -0,0 +1,2 @@ +mirrored RB +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/169_RBm_R.out b/test/060_transform/169_RBm_R.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/169_RBm_R.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/170_RBr_F.in b/test/060_transform/170_RBr_F.in new file mode 100644 index 0000000..54b6b57 --- /dev/null +++ b/test/060_transform/170_RBr_F.in @@ -0,0 +1,2 @@ +rotation RB +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/170_RBr_F.out b/test/060_transform/170_RBr_F.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/170_RBr_F.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/171_RBm_F.in b/test/060_transform/171_RBm_F.in new file mode 100644 index 0000000..b0b4c04 --- /dev/null +++ b/test/060_transform/171_RBm_F.in @@ -0,0 +1,2 @@ +mirrored RB +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/171_RBm_F.out b/test/060_transform/171_RBm_F.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/171_RBm_F.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/172_LUr_U.in b/test/060_transform/172_LUr_U.in new file mode 100644 index 0000000..d4de425 --- /dev/null +++ b/test/060_transform/172_LUr_U.in @@ -0,0 +1,2 @@ +rotation LU +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/172_LUr_U.out b/test/060_transform/172_LUr_U.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/172_LUr_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/173_LUm_U.in b/test/060_transform/173_LUm_U.in new file mode 100644 index 0000000..7530802 --- /dev/null +++ b/test/060_transform/173_LUm_U.in @@ -0,0 +1,2 @@ +mirrored LU +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/173_LUm_U.out b/test/060_transform/173_LUm_U.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/173_LUm_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/174_LUr_R.in b/test/060_transform/174_LUr_R.in new file mode 100644 index 0000000..ac3b675 --- /dev/null +++ b/test/060_transform/174_LUr_R.in @@ -0,0 +1,2 @@ +rotation LU +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/174_LUr_R.out b/test/060_transform/174_LUr_R.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/174_LUr_R.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/175_LUm_R.in b/test/060_transform/175_LUm_R.in new file mode 100644 index 0000000..42168b5 --- /dev/null +++ b/test/060_transform/175_LUm_R.in @@ -0,0 +1,2 @@ +mirrored LU +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/175_LUm_R.out b/test/060_transform/175_LUm_R.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/175_LUm_R.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/176_LUr_F.in b/test/060_transform/176_LUr_F.in new file mode 100644 index 0000000..65f37e9 --- /dev/null +++ b/test/060_transform/176_LUr_F.in @@ -0,0 +1,2 @@ +rotation LU +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/176_LUr_F.out b/test/060_transform/176_LUr_F.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/176_LUr_F.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/177_LUm_F.in b/test/060_transform/177_LUm_F.in new file mode 100644 index 0000000..c4428a7 --- /dev/null +++ b/test/060_transform/177_LUm_F.in @@ -0,0 +1,2 @@ +mirrored LU +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/177_LUm_F.out b/test/060_transform/177_LUm_F.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/177_LUm_F.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/178_LFr_U.in b/test/060_transform/178_LFr_U.in new file mode 100644 index 0000000..9d20035 --- /dev/null +++ b/test/060_transform/178_LFr_U.in @@ -0,0 +1,2 @@ +rotation LF +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/178_LFr_U.out b/test/060_transform/178_LFr_U.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/178_LFr_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/179_LFm_U.in b/test/060_transform/179_LFm_U.in new file mode 100644 index 0000000..c773f71 --- /dev/null +++ b/test/060_transform/179_LFm_U.in @@ -0,0 +1,2 @@ +mirrored LF +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/179_LFm_U.out b/test/060_transform/179_LFm_U.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/179_LFm_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/180_LFr_R.in b/test/060_transform/180_LFr_R.in new file mode 100644 index 0000000..059725a --- /dev/null +++ b/test/060_transform/180_LFr_R.in @@ -0,0 +1,2 @@ +rotation LF +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/180_LFr_R.out b/test/060_transform/180_LFr_R.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/180_LFr_R.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/181_LFm_R.in b/test/060_transform/181_LFm_R.in new file mode 100644 index 0000000..23d26dc --- /dev/null +++ b/test/060_transform/181_LFm_R.in @@ -0,0 +1,2 @@ +mirrored LF +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/181_LFm_R.out b/test/060_transform/181_LFm_R.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/181_LFm_R.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/182_LFr_F.in b/test/060_transform/182_LFr_F.in new file mode 100644 index 0000000..94d3342 --- /dev/null +++ b/test/060_transform/182_LFr_F.in @@ -0,0 +1,2 @@ +rotation LF +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/182_LFr_F.out b/test/060_transform/182_LFr_F.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/182_LFr_F.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/183_LFm_F.in b/test/060_transform/183_LFm_F.in new file mode 100644 index 0000000..4170885 --- /dev/null +++ b/test/060_transform/183_LFm_F.in @@ -0,0 +1,2 @@ +mirrored LF +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/183_LFm_F.out b/test/060_transform/183_LFm_F.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/183_LFm_F.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/184_LDr_U.in b/test/060_transform/184_LDr_U.in new file mode 100644 index 0000000..d8a9460 --- /dev/null +++ b/test/060_transform/184_LDr_U.in @@ -0,0 +1,2 @@ +rotation LD +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/184_LDr_U.out b/test/060_transform/184_LDr_U.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/184_LDr_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/185_LDm_U.in b/test/060_transform/185_LDm_U.in new file mode 100644 index 0000000..692a72b --- /dev/null +++ b/test/060_transform/185_LDm_U.in @@ -0,0 +1,2 @@ +mirrored LD +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/185_LDm_U.out b/test/060_transform/185_LDm_U.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/185_LDm_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/186_LDr_R.in b/test/060_transform/186_LDr_R.in new file mode 100644 index 0000000..e303013 --- /dev/null +++ b/test/060_transform/186_LDr_R.in @@ -0,0 +1,2 @@ +rotation LD +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/186_LDr_R.out b/test/060_transform/186_LDr_R.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/186_LDr_R.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/187_LDm_R.in b/test/060_transform/187_LDm_R.in new file mode 100644 index 0000000..b09a13c --- /dev/null +++ b/test/060_transform/187_LDm_R.in @@ -0,0 +1,2 @@ +mirrored LD +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/187_LDm_R.out b/test/060_transform/187_LDm_R.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/187_LDm_R.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/188_LDr_F.in b/test/060_transform/188_LDr_F.in new file mode 100644 index 0000000..9af43b3 --- /dev/null +++ b/test/060_transform/188_LDr_F.in @@ -0,0 +1,2 @@ +rotation LD +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/188_LDr_F.out b/test/060_transform/188_LDr_F.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/188_LDr_F.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/189_LDm_F.in b/test/060_transform/189_LDm_F.in new file mode 100644 index 0000000..97d8e51 --- /dev/null +++ b/test/060_transform/189_LDm_F.in @@ -0,0 +1,2 @@ +mirrored LD +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/189_LDm_F.out b/test/060_transform/189_LDm_F.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/189_LDm_F.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/190_LBr_U.in b/test/060_transform/190_LBr_U.in new file mode 100644 index 0000000..2003378 --- /dev/null +++ b/test/060_transform/190_LBr_U.in @@ -0,0 +1,2 @@ +rotation LB +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/190_LBr_U.out b/test/060_transform/190_LBr_U.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/190_LBr_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/191_LBm_U.in b/test/060_transform/191_LBm_U.in new file mode 100644 index 0000000..c3e7251 --- /dev/null +++ b/test/060_transform/191_LBm_U.in @@ -0,0 +1,2 @@ +mirrored LB +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/191_LBm_U.out b/test/060_transform/191_LBm_U.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/191_LBm_U.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/192_LBr_R.in b/test/060_transform/192_LBr_R.in new file mode 100644 index 0000000..67bdd40 --- /dev/null +++ b/test/060_transform/192_LBr_R.in @@ -0,0 +1,2 @@ +rotation LB +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/192_LBr_R.out b/test/060_transform/192_LBr_R.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/192_LBr_R.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/193_LBm_R.in b/test/060_transform/193_LBm_R.in new file mode 100644 index 0000000..b8f4b6f --- /dev/null +++ b/test/060_transform/193_LBm_R.in @@ -0,0 +1,2 @@ +mirrored LB +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/193_LBm_R.out b/test/060_transform/193_LBm_R.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/193_LBm_R.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/194_LBr_F.in b/test/060_transform/194_LBr_F.in new file mode 100644 index 0000000..3ff9823 --- /dev/null +++ b/test/060_transform/194_LBr_F.in @@ -0,0 +1,2 @@ +rotation LB +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/194_LBr_F.out b/test/060_transform/194_LBr_F.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/194_LBr_F.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/195_LBm_F.in b/test/060_transform/195_LBm_F.in new file mode 100644 index 0000000..35cb55f --- /dev/null +++ b/test/060_transform/195_LBm_F.in @@ -0,0 +1,2 @@ +mirrored LB +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/195_LBm_F.out b/test/060_transform/195_LBm_F.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/195_LBm_F.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/196_FUr_U.in b/test/060_transform/196_FUr_U.in new file mode 100644 index 0000000..489b248 --- /dev/null +++ b/test/060_transform/196_FUr_U.in @@ -0,0 +1,2 @@ +rotation FU +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/196_FUr_U.out b/test/060_transform/196_FUr_U.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/196_FUr_U.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/197_FUm_U.in b/test/060_transform/197_FUm_U.in new file mode 100644 index 0000000..e11003f --- /dev/null +++ b/test/060_transform/197_FUm_U.in @@ -0,0 +1,2 @@ +mirrored FU +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/197_FUm_U.out b/test/060_transform/197_FUm_U.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/197_FUm_U.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/198_FUr_R.in b/test/060_transform/198_FUr_R.in new file mode 100644 index 0000000..d44ba29 --- /dev/null +++ b/test/060_transform/198_FUr_R.in @@ -0,0 +1,2 @@ +rotation FU +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/198_FUr_R.out b/test/060_transform/198_FUr_R.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/198_FUr_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/199_FUm_R.in b/test/060_transform/199_FUm_R.in new file mode 100644 index 0000000..a803843 --- /dev/null +++ b/test/060_transform/199_FUm_R.in @@ -0,0 +1,2 @@ +mirrored FU +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/199_FUm_R.out b/test/060_transform/199_FUm_R.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/199_FUm_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/200_FUr_F.in b/test/060_transform/200_FUr_F.in new file mode 100644 index 0000000..beaac09 --- /dev/null +++ b/test/060_transform/200_FUr_F.in @@ -0,0 +1,2 @@ +rotation FU +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/200_FUr_F.out b/test/060_transform/200_FUr_F.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/200_FUr_F.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/201_FUm_F.in b/test/060_transform/201_FUm_F.in new file mode 100644 index 0000000..802b0b3 --- /dev/null +++ b/test/060_transform/201_FUm_F.in @@ -0,0 +1,2 @@ +mirrored FU +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/201_FUm_F.out b/test/060_transform/201_FUm_F.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/201_FUm_F.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/202_FRr_U.in b/test/060_transform/202_FRr_U.in new file mode 100644 index 0000000..ac903a9 --- /dev/null +++ b/test/060_transform/202_FRr_U.in @@ -0,0 +1,2 @@ +rotation FR +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/202_FRr_U.out b/test/060_transform/202_FRr_U.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/202_FRr_U.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/203_FRm_U.in b/test/060_transform/203_FRm_U.in new file mode 100644 index 0000000..e11a81e --- /dev/null +++ b/test/060_transform/203_FRm_U.in @@ -0,0 +1,2 @@ +mirrored FR +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/203_FRm_U.out b/test/060_transform/203_FRm_U.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/203_FRm_U.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/204_FRr_R.in b/test/060_transform/204_FRr_R.in new file mode 100644 index 0000000..1a06d75 --- /dev/null +++ b/test/060_transform/204_FRr_R.in @@ -0,0 +1,2 @@ +rotation FR +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/204_FRr_R.out b/test/060_transform/204_FRr_R.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/204_FRr_R.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/205_FRm_R.in b/test/060_transform/205_FRm_R.in new file mode 100644 index 0000000..cd0caf6 --- /dev/null +++ b/test/060_transform/205_FRm_R.in @@ -0,0 +1,2 @@ +mirrored FR +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/205_FRm_R.out b/test/060_transform/205_FRm_R.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/205_FRm_R.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/206_FRr_F.in b/test/060_transform/206_FRr_F.in new file mode 100644 index 0000000..1afb42b --- /dev/null +++ b/test/060_transform/206_FRr_F.in @@ -0,0 +1,2 @@ +rotation FR +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/206_FRr_F.out b/test/060_transform/206_FRr_F.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/206_FRr_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/207_FRm_F.in b/test/060_transform/207_FRm_F.in new file mode 100644 index 0000000..e2f75d0 --- /dev/null +++ b/test/060_transform/207_FRm_F.in @@ -0,0 +1,2 @@ +mirrored FR +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/207_FRm_F.out b/test/060_transform/207_FRm_F.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/207_FRm_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/208_FDr_U.in b/test/060_transform/208_FDr_U.in new file mode 100644 index 0000000..f18744e --- /dev/null +++ b/test/060_transform/208_FDr_U.in @@ -0,0 +1,2 @@ +rotation FD +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/208_FDr_U.out b/test/060_transform/208_FDr_U.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/208_FDr_U.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/209_FDm_U.in b/test/060_transform/209_FDm_U.in new file mode 100644 index 0000000..5ac46b4 --- /dev/null +++ b/test/060_transform/209_FDm_U.in @@ -0,0 +1,2 @@ +mirrored FD +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/209_FDm_U.out b/test/060_transform/209_FDm_U.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/209_FDm_U.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/210_FDr_R.in b/test/060_transform/210_FDr_R.in new file mode 100644 index 0000000..26b394c --- /dev/null +++ b/test/060_transform/210_FDr_R.in @@ -0,0 +1,2 @@ +rotation FD +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/210_FDr_R.out b/test/060_transform/210_FDr_R.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/210_FDr_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/211_FDm_R.in b/test/060_transform/211_FDm_R.in new file mode 100644 index 0000000..5a10ec6 --- /dev/null +++ b/test/060_transform/211_FDm_R.in @@ -0,0 +1,2 @@ +mirrored FD +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/211_FDm_R.out b/test/060_transform/211_FDm_R.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/211_FDm_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/212_FDr_F.in b/test/060_transform/212_FDr_F.in new file mode 100644 index 0000000..2382615 --- /dev/null +++ b/test/060_transform/212_FDr_F.in @@ -0,0 +1,2 @@ +rotation FD +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/212_FDr_F.out b/test/060_transform/212_FDr_F.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/212_FDr_F.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/213_FDm_F.in b/test/060_transform/213_FDm_F.in new file mode 100644 index 0000000..0515b51 --- /dev/null +++ b/test/060_transform/213_FDm_F.in @@ -0,0 +1,2 @@ +mirrored FD +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/213_FDm_F.out b/test/060_transform/213_FDm_F.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/213_FDm_F.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/214_FLr_U.in b/test/060_transform/214_FLr_U.in new file mode 100644 index 0000000..da3f3a4 --- /dev/null +++ b/test/060_transform/214_FLr_U.in @@ -0,0 +1,2 @@ +rotation FL +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/214_FLr_U.out b/test/060_transform/214_FLr_U.out new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/060_transform/214_FLr_U.out @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/215_FLm_U.in b/test/060_transform/215_FLm_U.in new file mode 100644 index 0000000..0dd99c3 --- /dev/null +++ b/test/060_transform/215_FLm_U.in @@ -0,0 +1,2 @@ +mirrored FL +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/215_FLm_U.out b/test/060_transform/215_FLm_U.out new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/060_transform/215_FLm_U.out @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/060_transform/216_FLr_R.in b/test/060_transform/216_FLr_R.in new file mode 100644 index 0000000..b8488d1 --- /dev/null +++ b/test/060_transform/216_FLr_R.in @@ -0,0 +1,2 @@ +rotation FL +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/216_FLr_R.out b/test/060_transform/216_FLr_R.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/216_FLr_R.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/217_FLm_R.in b/test/060_transform/217_FLm_R.in new file mode 100644 index 0000000..624882c --- /dev/null +++ b/test/060_transform/217_FLm_R.in @@ -0,0 +1,2 @@ +mirrored FL +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/217_FLm_R.out b/test/060_transform/217_FLm_R.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/217_FLm_R.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/218_FLr_F.in b/test/060_transform/218_FLr_F.in new file mode 100644 index 0000000..03950c5 --- /dev/null +++ b/test/060_transform/218_FLr_F.in @@ -0,0 +1,2 @@ +rotation FL +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/218_FLr_F.out b/test/060_transform/218_FLr_F.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/218_FLr_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/219_FLm_F.in b/test/060_transform/219_FLm_F.in new file mode 100644 index 0000000..ff909bf --- /dev/null +++ b/test/060_transform/219_FLm_F.in @@ -0,0 +1,2 @@ +mirrored FL +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/219_FLm_F.out b/test/060_transform/219_FLm_F.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/219_FLm_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/220_BUr_U.in b/test/060_transform/220_BUr_U.in new file mode 100644 index 0000000..c923f4d --- /dev/null +++ b/test/060_transform/220_BUr_U.in @@ -0,0 +1,2 @@ +rotation BU +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/220_BUr_U.out b/test/060_transform/220_BUr_U.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/220_BUr_U.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/221_BUm_U.in b/test/060_transform/221_BUm_U.in new file mode 100644 index 0000000..d939385 --- /dev/null +++ b/test/060_transform/221_BUm_U.in @@ -0,0 +1,2 @@ +mirrored BU +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/221_BUm_U.out b/test/060_transform/221_BUm_U.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/221_BUm_U.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/222_BUr_R.in b/test/060_transform/222_BUr_R.in new file mode 100644 index 0000000..89a46f4 --- /dev/null +++ b/test/060_transform/222_BUr_R.in @@ -0,0 +1,2 @@ +rotation BU +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/222_BUr_R.out b/test/060_transform/222_BUr_R.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/222_BUr_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/223_BUm_R.in b/test/060_transform/223_BUm_R.in new file mode 100644 index 0000000..2f5d234 --- /dev/null +++ b/test/060_transform/223_BUm_R.in @@ -0,0 +1,2 @@ +mirrored BU +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/223_BUm_R.out b/test/060_transform/223_BUm_R.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/223_BUm_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/224_BUr_F.in b/test/060_transform/224_BUr_F.in new file mode 100644 index 0000000..0ad8995 --- /dev/null +++ b/test/060_transform/224_BUr_F.in @@ -0,0 +1,2 @@ +rotation BU +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/224_BUr_F.out b/test/060_transform/224_BUr_F.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/224_BUr_F.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/225_BUm_F.in b/test/060_transform/225_BUm_F.in new file mode 100644 index 0000000..3ff7e4d --- /dev/null +++ b/test/060_transform/225_BUm_F.in @@ -0,0 +1,2 @@ +mirrored BU +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/225_BUm_F.out b/test/060_transform/225_BUm_F.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/225_BUm_F.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/226_BRr_U.in b/test/060_transform/226_BRr_U.in new file mode 100644 index 0000000..46ebe30 --- /dev/null +++ b/test/060_transform/226_BRr_U.in @@ -0,0 +1,2 @@ +rotation BR +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/226_BRr_U.out b/test/060_transform/226_BRr_U.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/226_BRr_U.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/227_BRm_U.in b/test/060_transform/227_BRm_U.in new file mode 100644 index 0000000..63897c9 --- /dev/null +++ b/test/060_transform/227_BRm_U.in @@ -0,0 +1,2 @@ +mirrored BR +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/227_BRm_U.out b/test/060_transform/227_BRm_U.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/227_BRm_U.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/228_BRr_R.in b/test/060_transform/228_BRr_R.in new file mode 100644 index 0000000..7e2de76 --- /dev/null +++ b/test/060_transform/228_BRr_R.in @@ -0,0 +1,2 @@ +rotation BR +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/228_BRr_R.out b/test/060_transform/228_BRr_R.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/228_BRr_R.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/229_BRm_R.in b/test/060_transform/229_BRm_R.in new file mode 100644 index 0000000..c9e6e82 --- /dev/null +++ b/test/060_transform/229_BRm_R.in @@ -0,0 +1,2 @@ +mirrored BR +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/229_BRm_R.out b/test/060_transform/229_BRm_R.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/229_BRm_R.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/230_BRr_F.in b/test/060_transform/230_BRr_F.in new file mode 100644 index 0000000..fe288dc --- /dev/null +++ b/test/060_transform/230_BRr_F.in @@ -0,0 +1,2 @@ +rotation BR +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/230_BRr_F.out b/test/060_transform/230_BRr_F.out new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/060_transform/230_BRr_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/231_BRm_F.in b/test/060_transform/231_BRm_F.in new file mode 100644 index 0000000..5411345 --- /dev/null +++ b/test/060_transform/231_BRm_F.in @@ -0,0 +1,2 @@ +mirrored BR +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/231_BRm_F.out b/test/060_transform/231_BRm_F.out new file mode 100644 index 0000000..2ac2912 --- /dev/null +++ b/test/060_transform/231_BRm_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 FL0 BL0 DR0 FR0 DL0 UL0 BR0 UFR0 UFL2 DBL2 DBR0 DFL1 UBR0 DFR0 UBL1 diff --git a/test/060_transform/232_BDr_U.in b/test/060_transform/232_BDr_U.in new file mode 100644 index 0000000..1a8f5d3 --- /dev/null +++ b/test/060_transform/232_BDr_U.in @@ -0,0 +1,2 @@ +rotation BD +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/232_BDr_U.out b/test/060_transform/232_BDr_U.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/232_BDr_U.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/233_BDm_U.in b/test/060_transform/233_BDm_U.in new file mode 100644 index 0000000..b6b1ec4 --- /dev/null +++ b/test/060_transform/233_BDm_U.in @@ -0,0 +1,2 @@ +mirrored BD +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/233_BDm_U.out b/test/060_transform/233_BDm_U.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/233_BDm_U.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/234_BDr_R.in b/test/060_transform/234_BDr_R.in new file mode 100644 index 0000000..f12b7bb --- /dev/null +++ b/test/060_transform/234_BDr_R.in @@ -0,0 +1,2 @@ +rotation BD +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/234_BDr_R.out b/test/060_transform/234_BDr_R.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/234_BDr_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/235_BDm_R.in b/test/060_transform/235_BDm_R.in new file mode 100644 index 0000000..a281b6c --- /dev/null +++ b/test/060_transform/235_BDm_R.in @@ -0,0 +1,2 @@ +mirrored BD +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/235_BDm_R.out b/test/060_transform/235_BDm_R.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/235_BDm_R.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/236_BDr_F.in b/test/060_transform/236_BDr_F.in new file mode 100644 index 0000000..68a3262 --- /dev/null +++ b/test/060_transform/236_BDr_F.in @@ -0,0 +1,2 @@ +rotation BD +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/236_BDr_F.out b/test/060_transform/236_BDr_F.out new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/060_transform/236_BDr_F.out @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/060_transform/237_BDm_F.in b/test/060_transform/237_BDm_F.in new file mode 100644 index 0000000..9200d9a --- /dev/null +++ b/test/060_transform/237_BDm_F.in @@ -0,0 +1,2 @@ +mirrored BD +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/237_BDm_F.out b/test/060_transform/237_BDm_F.out new file mode 100644 index 0000000..2864f5b --- /dev/null +++ b/test/060_transform/237_BDm_F.out @@ -0,0 +1 @@ +UF0 UB0 DL0 DR0 UR0 UL0 DF0 DB0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFR0 DBL0 UFL0 UBR0 DBR0 DFL0 diff --git a/test/060_transform/238_BLr_U.in b/test/060_transform/238_BLr_U.in new file mode 100644 index 0000000..ae1bb2e --- /dev/null +++ b/test/060_transform/238_BLr_U.in @@ -0,0 +1,2 @@ +rotation BL +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/238_BLr_U.out b/test/060_transform/238_BLr_U.out new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/060_transform/238_BLr_U.out @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/060_transform/239_BLm_U.in b/test/060_transform/239_BLm_U.in new file mode 100644 index 0000000..82eef50 --- /dev/null +++ b/test/060_transform/239_BLm_U.in @@ -0,0 +1,2 @@ +mirrored BL +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/239_BLm_U.out b/test/060_transform/239_BLm_U.out new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/060_transform/239_BLm_U.out @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/060_transform/240_BLr_R.in b/test/060_transform/240_BLr_R.in new file mode 100644 index 0000000..5aeee46 --- /dev/null +++ b/test/060_transform/240_BLr_R.in @@ -0,0 +1,2 @@ +rotation BL +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/240_BLr_R.out b/test/060_transform/240_BLr_R.out new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/060_transform/240_BLr_R.out @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/060_transform/241_BLm_R.in b/test/060_transform/241_BLm_R.in new file mode 100644 index 0000000..4aff162 --- /dev/null +++ b/test/060_transform/241_BLm_R.in @@ -0,0 +1,2 @@ +mirrored BL +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/060_transform/241_BLm_R.out b/test/060_transform/241_BLm_R.out new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/060_transform/241_BLm_R.out @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/060_transform/242_BLr_F.in b/test/060_transform/242_BLr_F.in new file mode 100644 index 0000000..a621e5e --- /dev/null +++ b/test/060_transform/242_BLr_F.in @@ -0,0 +1,2 @@ +rotation BL +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/242_BLr_F.out b/test/060_transform/242_BLr_F.out new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/060_transform/242_BLr_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/060_transform/243_BLm_F.in b/test/060_transform/243_BLm_F.in new file mode 100644 index 0000000..6aa4a5a --- /dev/null +++ b/test/060_transform/243_BLm_F.in @@ -0,0 +1,2 @@ +mirrored BL +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/060_transform/243_BLm_F.out b/test/060_transform/243_BLm_F.out new file mode 100644 index 0000000..d4abffc --- /dev/null +++ b/test/060_transform/243_BLm_F.out @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 BR0 UL0 DL0 FR0 UR0 FL0 BL0 DR0 UBR2 UBL0 DFL0 DFR2 UFL0 DBR1 UFR1 DBL0 diff --git a/test/060_transform/transform_tests.c b/test/060_transform/transform_tests.c new file mode 100644 index 0000000..f95ad67 --- /dev/null +++ b/test/060_transform/transform_tests.c @@ -0,0 +1,25 @@ +#include "../test.h" + +cube_t applytrans(cube_t, char *); + +int main(void) { + char cubestr[STRLENMAX], transtr[STRLENMAX]; + cube_t cube; + + fgets(transtr, STRLENMAX, stdin); + fgets(cubestr, STRLENMAX, stdin); + cube = readcube("H48", cubestr); + + cube = applytrans(cube, transtr); + + if (iserror(cube)) { + printf("Error transforming cube\n"); + } else if (!issolvable(cube)) { + printf("Transformed cube is not solvable\n"); + } else { + writecube("H48", cube, cubestr); + printf("%s\n", cubestr); + } + + return 0; +} diff --git a/test/061_inverse_trans/00_all.in b/test/061_inverse_trans/00_all.in new file mode 100644 index 0000000..e69de29 diff --git a/test/061_inverse_trans/00_all.out b/test/061_inverse_trans/00_all.out new file mode 100644 index 0000000..e69de29 diff --git a/test/061_inverse_trans/inverse_trans_tests.c b/test/061_inverse_trans/inverse_trans_tests.c new file mode 100644 index 0000000..77bd40b --- /dev/null +++ b/test/061_inverse_trans/inverse_trans_tests.c @@ -0,0 +1,38 @@ +#include "../test.h" + +uint8_t readtrans(char *); +uint8_t inverse_trans(uint8_t); +cube_t applymoves(cube_t, char *); +cube_t applytrans(cube_t, char *); +extern char *transstr[]; + +int main(void) { + uint8_t t, tinv; + cube_t cube; + + for (t = 0; t < 48; t++) { + cube = solvedcube(); + cube = applymoves(cube, "R"); + cube = applymoves(cube, "U"); + cube = applymoves(cube, "F"); + + cube = applytrans(cube, transstr[t]); + tinv = inverse_trans(t); + cube = applytrans(cube, transstr[tinv]); + + if (iserror(cube)) { + printf("Error transforming cube\n"); + } else if (!issolvable(cube)) { + printf("Transformed cube is not solvable\n"); + } else { + cube = applymoves(cube, "F'"); + cube = applymoves(cube, "U'"); + cube = applymoves(cube, "R'"); + if (!issolved(cube)) + printf("%s: Error! Got %" PRIu8 "\n", + transstr[t], tinv); + } + } + + return 0; +} diff --git a/test/071_coord_eo/00_solved.in b/test/071_coord_eo/00_solved.in new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/071_coord_eo/00_solved.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/071_coord_eo/00_solved.out b/test/071_coord_eo/00_solved.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/071_coord_eo/00_solved.out @@ -0,0 +1 @@ +0 diff --git a/test/071_coord_eo/01_U.in b/test/071_coord_eo/01_U.in new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/071_coord_eo/01_U.in @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/071_coord_eo/01_U.out b/test/071_coord_eo/01_U.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/071_coord_eo/01_U.out @@ -0,0 +1 @@ +0 diff --git a/test/071_coord_eo/02_U2.in b/test/071_coord_eo/02_U2.in new file mode 100644 index 0000000..316ad57 --- /dev/null +++ b/test/071_coord_eo/02_U2.in @@ -0,0 +1 @@ +UB0 UF0 DB0 DF0 UL0 UR0 DL0 DR0 FR0 FL0 BL0 BR0 UBL0 UFR0 DFL0 DBR0 UBR0 UFL0 DFR0 DBL0 diff --git a/test/071_coord_eo/02_U2.out b/test/071_coord_eo/02_U2.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/071_coord_eo/02_U2.out @@ -0,0 +1 @@ +0 diff --git a/test/071_coord_eo/03_U3.in b/test/071_coord_eo/03_U3.in new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/071_coord_eo/03_U3.in @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/071_coord_eo/03_U3.out b/test/071_coord_eo/03_U3.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/071_coord_eo/03_U3.out @@ -0,0 +1 @@ +0 diff --git a/test/071_coord_eo/04_D.in b/test/071_coord_eo/04_D.in new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/071_coord_eo/04_D.in @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/071_coord_eo/04_D.out b/test/071_coord_eo/04_D.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/071_coord_eo/04_D.out @@ -0,0 +1 @@ +0 diff --git a/test/071_coord_eo/07_R.in b/test/071_coord_eo/07_R.in new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/071_coord_eo/07_R.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/071_coord_eo/07_R.out b/test/071_coord_eo/07_R.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/071_coord_eo/07_R.out @@ -0,0 +1 @@ +0 diff --git a/test/071_coord_eo/08_R2.in b/test/071_coord_eo/08_R2.in new file mode 100644 index 0000000..90765e2 --- /dev/null +++ b/test/071_coord_eo/08_R2.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 DR0 UL0 DL0 UR0 BR0 FL0 BL0 FR0 DBR0 UBL0 DFL0 UFR0 UFL0 DFR0 UBR0 DBL0 diff --git a/test/071_coord_eo/08_R2.out b/test/071_coord_eo/08_R2.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/071_coord_eo/08_R2.out @@ -0,0 +1 @@ +0 diff --git a/test/071_coord_eo/10_L.in b/test/071_coord_eo/10_L.in new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/071_coord_eo/10_L.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/071_coord_eo/10_L.out b/test/071_coord_eo/10_L.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/071_coord_eo/10_L.out @@ -0,0 +1 @@ +0 diff --git a/test/071_coord_eo/13_F.in b/test/071_coord_eo/13_F.in new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/071_coord_eo/13_F.in @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/071_coord_eo/13_F.out b/test/071_coord_eo/13_F.out new file mode 100644 index 0000000..2c60641 --- /dev/null +++ b/test/071_coord_eo/13_F.out @@ -0,0 +1 @@ +388 diff --git a/test/071_coord_eo/14_F2.in b/test/071_coord_eo/14_F2.in new file mode 100644 index 0000000..8aa701f --- /dev/null +++ b/test/071_coord_eo/14_F2.in @@ -0,0 +1 @@ +DF0 UB0 DB0 UF0 UR0 UL0 DL0 DR0 FL0 FR0 BL0 BR0 DFL0 UBL0 UFR0 DBR0 DFR0 UBR0 UFL0 DBL0 diff --git a/test/071_coord_eo/14_F2.out b/test/071_coord_eo/14_F2.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/071_coord_eo/14_F2.out @@ -0,0 +1 @@ +0 diff --git a/test/071_coord_eo/15_F3.in b/test/071_coord_eo/15_F3.in new file mode 100644 index 0000000..40f1260 --- /dev/null +++ b/test/071_coord_eo/15_F3.in @@ -0,0 +1 @@ +FR1 UB0 DB0 FL1 UR0 UL0 DL0 DR0 DF1 UF1 BL0 BR0 DFR1 UBL0 UFL1 DBR0 UFR2 UBR0 DFL2 DBL0 diff --git a/test/071_coord_eo/15_F3.out b/test/071_coord_eo/15_F3.out new file mode 100644 index 0000000..2c60641 --- /dev/null +++ b/test/071_coord_eo/15_F3.out @@ -0,0 +1 @@ +388 diff --git a/test/071_coord_eo/16_B.in b/test/071_coord_eo/16_B.in new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/071_coord_eo/16_B.in @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/071_coord_eo/16_B.out b/test/071_coord_eo/16_B.out new file mode 100644 index 0000000..1fd9918 --- /dev/null +++ b/test/071_coord_eo/16_B.out @@ -0,0 +1 @@ +1539 diff --git a/test/071_coord_eo/17_B2.in b/test/071_coord_eo/17_B2.in new file mode 100644 index 0000000..9b33e35 --- /dev/null +++ b/test/071_coord_eo/17_B2.in @@ -0,0 +1 @@ +UF0 DB0 UB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BR0 BL0 UFR0 DBR0 DFL0 UBL0 UFL0 DBL0 DFR0 UBR0 diff --git a/test/071_coord_eo/17_B2.out b/test/071_coord_eo/17_B2.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/071_coord_eo/17_B2.out @@ -0,0 +1 @@ +0 diff --git a/test/071_coord_eo/18_B3.in b/test/071_coord_eo/18_B3.in new file mode 100644 index 0000000..1367517 --- /dev/null +++ b/test/071_coord_eo/18_B3.in @@ -0,0 +1 @@ +UF0 BL1 BR1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 DB1 UB1 UFR0 DBL1 DFL0 UBR1 UFL0 UBL2 DFR0 DBR2 diff --git a/test/071_coord_eo/18_B3.out b/test/071_coord_eo/18_B3.out new file mode 100644 index 0000000..1fd9918 --- /dev/null +++ b/test/071_coord_eo/18_B3.out @@ -0,0 +1 @@ +1539 diff --git a/test/071_coord_eo/20_scrambled.in b/test/071_coord_eo/20_scrambled.in new file mode 100644 index 0000000..274d30b --- /dev/null +++ b/test/071_coord_eo/20_scrambled.in @@ -0,0 +1,3 @@ +UL0 BL0 BR1 DL0 FR0 DF0 DB1 DR1 UB0 FL0 UF0 UR1 DFL0 UFR1 DBR1 UBR2 DBL2 DFR0 UFL1 UBL2 + +// Scramble: U R D' L D' F L2 D L F B D2 B' L2 F U2 L2 D2 R2 L2 B' diff --git a/test/071_coord_eo/20_scrambled.out b/test/071_coord_eo/20_scrambled.out new file mode 100644 index 0000000..aa309cc --- /dev/null +++ b/test/071_coord_eo/20_scrambled.out @@ -0,0 +1 @@ +1122 diff --git a/test/071_coord_eo/coord_eo_tests.c b/test/071_coord_eo/coord_eo_tests.c new file mode 100644 index 0000000..85128e0 --- /dev/null +++ b/test/071_coord_eo/coord_eo_tests.c @@ -0,0 +1,21 @@ +#include "../test.h" + +int64_t coord_fast_eo(cube_fast_t); +cube_fast_t cubetofast(cube_t); + +int main(void) { + char str[STRLENMAX]; + cube_t cube; + cube_fast_t fast; + int64_t result; + + fgets(str, STRLENMAX, stdin); + cube = readcube("H48", str); + fast = cubetofast(cube); + + result = coord_fast_eo(fast); + + printf("%" PRId64 "\n", result); + + return 0; +} diff --git a/test/072_coord_co/00_solved.in b/test/072_coord_co/00_solved.in new file mode 100644 index 0000000..dff224d --- /dev/null +++ b/test/072_coord_co/00_solved.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 diff --git a/test/072_coord_co/00_solved.out b/test/072_coord_co/00_solved.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/072_coord_co/00_solved.out @@ -0,0 +1 @@ +0 diff --git a/test/072_coord_co/01_U.in b/test/072_coord_co/01_U.in new file mode 100644 index 0000000..b5b36ad --- /dev/null +++ b/test/072_coord_co/01_U.in @@ -0,0 +1 @@ +UR0 UL0 DB0 DF0 UB0 UF0 DL0 DR0 FR0 FL0 BL0 BR0 UBR0 UFL0 DFL0 DBR0 UFR0 UBL0 DFR0 DBL0 diff --git a/test/072_coord_co/01_U.out b/test/072_coord_co/01_U.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/072_coord_co/01_U.out @@ -0,0 +1 @@ +0 diff --git a/test/072_coord_co/02_U2.in b/test/072_coord_co/02_U2.in new file mode 100644 index 0000000..316ad57 --- /dev/null +++ b/test/072_coord_co/02_U2.in @@ -0,0 +1 @@ +UB0 UF0 DB0 DF0 UL0 UR0 DL0 DR0 FR0 FL0 BL0 BR0 UBL0 UFR0 DFL0 DBR0 UBR0 UFL0 DFR0 DBL0 diff --git a/test/072_coord_co/02_U2.out b/test/072_coord_co/02_U2.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/072_coord_co/02_U2.out @@ -0,0 +1 @@ +0 diff --git a/test/072_coord_co/03_U3.in b/test/072_coord_co/03_U3.in new file mode 100644 index 0000000..7721ab5 --- /dev/null +++ b/test/072_coord_co/03_U3.in @@ -0,0 +1 @@ +UL0 UR0 DB0 DF0 UF0 UB0 DL0 DR0 FR0 FL0 BL0 BR0 UFL0 UBR0 DFL0 DBR0 UBL0 UFR0 DFR0 DBL0 diff --git a/test/072_coord_co/03_U3.out b/test/072_coord_co/03_U3.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/072_coord_co/03_U3.out @@ -0,0 +1 @@ +0 diff --git a/test/072_coord_co/04_D.in b/test/072_coord_co/04_D.in new file mode 100644 index 0000000..cf4f816 --- /dev/null +++ b/test/072_coord_co/04_D.in @@ -0,0 +1 @@ +UF0 UB0 DR0 DL0 UR0 UL0 DB0 DF0 FR0 FL0 BL0 BR0 UFR0 UBL0 DBL0 DFR0 UFL0 UBR0 DFL0 DBR0 diff --git a/test/072_coord_co/04_D.out b/test/072_coord_co/04_D.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/072_coord_co/04_D.out @@ -0,0 +1 @@ +0 diff --git a/test/072_coord_co/07_R.in b/test/072_coord_co/07_R.in new file mode 100644 index 0000000..8c8fcb3 --- /dev/null +++ b/test/072_coord_co/07_R.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 FR0 UL0 DL0 BR0 DR0 FL0 BL0 UR0 DFR2 UBL0 DFL0 UBR2 UFL0 UFR1 DBR1 DBL0 diff --git a/test/072_coord_co/07_R.out b/test/072_coord_co/07_R.out new file mode 100644 index 0000000..1f3d8a7 --- /dev/null +++ b/test/072_coord_co/07_R.out @@ -0,0 +1 @@ +1028 diff --git a/test/072_coord_co/08_R2.in b/test/072_coord_co/08_R2.in new file mode 100644 index 0000000..90765e2 --- /dev/null +++ b/test/072_coord_co/08_R2.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 DR0 UL0 DL0 UR0 BR0 FL0 BL0 FR0 DBR0 UBL0 DFL0 UFR0 UFL0 DFR0 UBR0 DBL0 diff --git a/test/072_coord_co/08_R2.out b/test/072_coord_co/08_R2.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/072_coord_co/08_R2.out @@ -0,0 +1 @@ +0 diff --git a/test/072_coord_co/10_L.in b/test/072_coord_co/10_L.in new file mode 100644 index 0000000..0b0565c --- /dev/null +++ b/test/072_coord_co/10_L.in @@ -0,0 +1 @@ +UF0 UB0 DB0 DF0 UR0 BL0 FL0 DR0 FR0 UL0 DL0 BR0 UFR0 DBL2 UFL2 DBR0 UBL1 UBR0 DFR0 DFL1 diff --git a/test/072_coord_co/10_L.out b/test/072_coord_co/10_L.out new file mode 100644 index 0000000..f96ac06 --- /dev/null +++ b/test/072_coord_co/10_L.out @@ -0,0 +1 @@ +105 diff --git a/test/072_coord_co/13_F.in b/test/072_coord_co/13_F.in new file mode 100644 index 0000000..e805af8 --- /dev/null +++ b/test/072_coord_co/13_F.in @@ -0,0 +1 @@ +FL1 UB0 DB0 FR1 UR0 UL0 DL0 DR0 UF1 DF1 BL0 BR0 UFL1 UBL0 DFR1 DBR0 DFL2 UBR0 UFR2 DBL0 diff --git a/test/072_coord_co/13_F.out b/test/072_coord_co/13_F.out new file mode 100644 index 0000000..86868c5 --- /dev/null +++ b/test/072_coord_co/13_F.out @@ -0,0 +1 @@ +1630 diff --git a/test/072_coord_co/14_F2.in b/test/072_coord_co/14_F2.in new file mode 100644 index 0000000..8aa701f --- /dev/null +++ b/test/072_coord_co/14_F2.in @@ -0,0 +1 @@ +DF0 UB0 DB0 UF0 UR0 UL0 DL0 DR0 FL0 FR0 BL0 BR0 DFL0 UBL0 UFR0 DBR0 DFR0 UBR0 UFL0 DBL0 diff --git a/test/072_coord_co/14_F2.out b/test/072_coord_co/14_F2.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/072_coord_co/14_F2.out @@ -0,0 +1 @@ +0 diff --git a/test/072_coord_co/16_B.in b/test/072_coord_co/16_B.in new file mode 100644 index 0000000..f7fb13c --- /dev/null +++ b/test/072_coord_co/16_B.in @@ -0,0 +1 @@ +UF0 BR1 BL1 DF0 UR0 UL0 DL0 DR0 FR0 FL0 UB1 DB1 UFR0 UBR1 DFL0 DBL1 UFL0 DBR2 DFR0 UBL2 diff --git a/test/072_coord_co/16_B.out b/test/072_coord_co/16_B.out new file mode 100644 index 0000000..1c599d4 --- /dev/null +++ b/test/072_coord_co/16_B.out @@ -0,0 +1 @@ +516 diff --git a/test/072_coord_co/17_B2.in b/test/072_coord_co/17_B2.in new file mode 100644 index 0000000..9b33e35 --- /dev/null +++ b/test/072_coord_co/17_B2.in @@ -0,0 +1 @@ +UF0 DB0 UB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BR0 BL0 UFR0 DBR0 DFL0 UBL0 UFL0 DBL0 DFR0 UBR0 diff --git a/test/072_coord_co/17_B2.out b/test/072_coord_co/17_B2.out new file mode 100644 index 0000000..573541a --- /dev/null +++ b/test/072_coord_co/17_B2.out @@ -0,0 +1 @@ +0 diff --git a/test/072_coord_co/20_scrambled.in b/test/072_coord_co/20_scrambled.in new file mode 100644 index 0000000..274d30b --- /dev/null +++ b/test/072_coord_co/20_scrambled.in @@ -0,0 +1,3 @@ +UL0 BL0 BR1 DL0 FR0 DF0 DB1 DR1 UB0 FL0 UF0 UR1 DFL0 UFR1 DBR1 UBR2 DBL2 DFR0 UFL1 UBL2 + +// Scramble: U R D' L D' F L2 D L F B D2 B' L2 F U2 L2 D2 R2 L2 B' diff --git a/test/072_coord_co/20_scrambled.out b/test/072_coord_co/20_scrambled.out new file mode 100644 index 0000000..6943e4d --- /dev/null +++ b/test/072_coord_co/20_scrambled.out @@ -0,0 +1 @@ +957 diff --git a/test/072_coord_co/coord_co_tests.c b/test/072_coord_co/coord_co_tests.c new file mode 100644 index 0000000..bb061e5 --- /dev/null +++ b/test/072_coord_co/coord_co_tests.c @@ -0,0 +1,21 @@ +#include "../test.h" + +int64_t coord_fast_co(cube_fast_t); +cube_fast_t cubetofast(cube_t); + +int main(void) { + char str[STRLENMAX]; + cube_t cube; + cube_fast_t fast; + int64_t result; + + fgets(str, STRLENMAX, stdin); + cube = readcube("H48", str); + fast = cubetofast(cube); + + result = coord_fast_co(fast); + + printf("%" PRId64 "\n", result); + + return 0; +} diff --git a/test/test.h b/test/test.h new file mode 100644 index 0000000..3cbfd10 --- /dev/null +++ b/test/test.h @@ -0,0 +1,27 @@ +#include +#include +#include +#include +#include + +#define STRLENMAX 10000 + +typedef struct { + uint8_t corner[8]; + uint8_t edge[12]; +} cube_t; + +#ifdef CUBE_AVX2 +#include +typedef __m256i cube_fast_t; +#else +typedef cube_t cube_fast_t; +#endif + +/* Basic functions used in most tests */ +cube_t solvedcube(void); +bool iserror(cube_t); +bool issolvable(cube_t); +bool issolved(cube_t); +cube_t readcube(char *, char *); +void writecube(char *, cube_t, char *); diff --git a/test/test.sh b/test/test.sh new file mode 100755 index 0000000..77bd8ca --- /dev/null +++ b/test/test.sh @@ -0,0 +1,39 @@ +#!/bin/sh + +detectsan() { cc -fsanitize=$1 -dM -E -x c - $TESTOUT 2> $TESTERR + if diff $cout $TESTOUT; then + printf "OK\n" + else + printf "Test failed! stderr:\n" + cat $TESTERR + exit 1 + fi + done +done + +echo "All tests passed!" +rm -rf $TESTBIN $TESTOUT $TESTERR $CUBEOBJ -- cgit v1.3