Пример #1
0
def test_deleted(range_creator):
    build_range = range_creator.create(range(5))
    build_range2 = build_range.deleted(1)
    assert len(build_range) == 5
    assert len(build_range2) == 4

    assert build_range2[0] == 0
    assert build_range2[1] == 2
Пример #2
0
def test_deleted(range_creator):
    build_range = range_creator.create(range(5))
    build_range2 = build_range.deleted(1)
    assert len(build_range) == 5
    assert len(build_range2) == 4

    assert build_range2[0] == 0
    assert build_range2[1] == 2