Searched refs:expectedHitCount (Results 1 – 2 of 2) sorted by relevance
240 size_t expectedHitCount = kNumIters * kCacheSize / kNumKeys; in TEST_F() local241 EXPECT_LT(int(expectedHitCount * 0.9), hitCount); in TEST_F()242 EXPECT_GT(int(expectedHitCount * 1.1), hitCount); in TEST_F()
30 private int expectedHitCount; field in LruCacheTest470 expectedHitCount++;490 assertEquals("hit count", expectedHitCount, cache.hitCount());