def test_lazy_cache_3(self): l = [0] * 1000001 l[1] = 1 lazy_cache(100, 10000, l) assert l[5000] == 29
def test_lazy_cache_3 (self): l = [0]*1000001 l[1] = 1 lazy_cache(100, 10000, l) assert l[5000] == 29
def test_lazy_cache(self): l = [0] * 1000001 l[1] = 1 lazy_cache(1, 10, l) assert l[5] == 6
def test_lazy_cache (self): l = [0]*1000001 l[1] = 1 lazy_cache(1, 10, l) assert l[5] == 6