示例#1
0
def test_rotation_4():
    cseg = Contour([1, 4, 9, 9, 2, 1])
    assert cseg.rotation(20) == [9, 9, 2, 1, 1, 4]
示例#2
0
def test_rotation_2():
    cseg = Contour([1, 4, 9, 9, 2, 1])
    assert cseg.rotation(1) == [4, 9, 9, 2, 1, 1]