Searched refs:lruSet (Results 1 – 1 of 1) sorted by relevance
1164 mediametrics::LruSet<std::string> lruSet(LRU_SET_SIZE); in TEST() local1167 lruSet.add("abc"); in TEST()1168 ASSERT_EQ(1u, lruSet.size()); in TEST()1169 ASSERT_TRUE(lruSet.check("abc")); in TEST()1170 lruSet.add("def"); in TEST()1171 ASSERT_EQ(2u, lruSet.size()); in TEST()1174 lruSet.add("ghi"); in TEST()1175 ASSERT_FALSE(lruSet.check("abc")); in TEST()1176 ASSERT_TRUE(lruSet.check("ghi")); in TEST()1177 ASSERT_TRUE(lruSet.check("def")); // "def" is most recent. in TEST()[all …]