def test_contains():
    slt = SortedList()
    assert 0 not in slt

    slt.update(range(10000))

    for val in range(10000):
        assert val in slt

    assert 10000 not in slt

    slt._check()
dataset/ETHPy150Open grantjenks/sorted_containers/tests/test_coverage_sortedlist.py/test_contains/original