Example #1
0
def test_ZoomTraversal_set():
    l = b.GetitemLens(0) & b.ZoomTraversal()
    data = [bind([1, 2, 3])[1]]
    assert l.set(data, 7) == [[1, 7, 3]]
Example #2
0
def test_ZoomTraversal_view():
    l = b.GetitemLens(0) & b.ZoomTraversal()
    data = [bind([1, 2, 3])[1]]
    assert l.view(data) == 2