def test_check(): slt = SortedListWithKey(range(10), load=4, key=modulo) slt._len = 5 slt._check()
def test_check(): slt = SortedListWithKey(range(10), key=negate) slt._reset(4) slt._len = 5 slt._check()