예제 #1
0
def test_rotation_Int_4():
    i = InternalDiagonal([1, 1, 0, -1, -1, 1])
    assert i.rotation(20) == [0, -1, -1, 1, 1, 1]
예제 #2
0
def test_rotation_Int_2():
    i = InternalDiagonal([1, 1, 0, -1, -1, 1])
    assert i.rotation(1) == [1, 0, -1, -1, 1, 1]