Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/c/o/coils-1.0.6/test/testRing.py   coils(Download)
    assert a[1] == 1
    assert a[2] == 2
    assert a.first() == 0
    assert a.last() == 2
 
    a.turn()
    assert a[0] == 1
    assert a[1] == 2
    assert a[2] == 0
    assert a.first() == 1
    assert a[1] == 0
    assert a[2] == 1
    assert a.first() == 2
    assert a.last() == 1
test1()