def test_in_cache_2 (self) : v = in_cache_list(2, [0, 0, 0]) self.assert_(v == False)
def test_in_cache_3 (self) : v = in_cache_list(2, [0, 0, 2]) self.assert_(v == 2)
def test_in_cache_1 (self) : v = in_cache_list(1, [0]) self.assert_(v == False)