예제 #1
0
def test_CHECKERBOARD_pattern_with_single_twists():
    cube = Cube()

    for turn in CHECKERBOARD_TURNS:
        cube.twist(turn)

    assert cube.cube_string == CHECKERBOARD
예제 #2
0
def test_cube_is_solved_after_reset():
    cube = Cube()
    cube.scramble()
    cube.twist(2)
    cube.twist_by_notation("U2 B D'")
    cube.reset()

    assert cube.is_solved