Lines Matching refs:testMap

246     FastUnorderedMap<int, bool, 3> testMap;  in TEST()  local
247 EXPECT_TRUE(testMap.empty()); in TEST()
248 EXPECT_EQ(testMap.size(), 0u); in TEST()
250 testMap.insert(5, true); in TEST()
251 EXPECT_TRUE(testMap.contains(5)); in TEST()
252 EXPECT_EQ(testMap.size(), 1u); in TEST()
255 EXPECT_TRUE(testMap.get(5, &value)); in TEST()
257 EXPECT_FALSE(testMap.get(6, &value)); in TEST()
259 EXPECT_FALSE(testMap.empty()); in TEST()
260 testMap.clear(); in TEST()
261 EXPECT_TRUE(testMap.empty()); in TEST()
262 EXPECT_EQ(testMap.size(), 0u); in TEST()
266 testMap.insert(i, false); in TEST()
269 EXPECT_FALSE(testMap.empty()); in TEST()
270 EXPECT_EQ(testMap.size(), 10u); in TEST()
274 EXPECT_TRUE(testMap.contains(i)); in TEST()
275 EXPECT_TRUE(testMap.get(i, &value)); in TEST()
283 FastUnorderedSet<int, 3> testMap; in TEST() local
284 EXPECT_TRUE(testMap.empty()); in TEST()
286 testMap.insert(5); in TEST()
287 EXPECT_TRUE(testMap.contains(5)); in TEST()
288 EXPECT_FALSE(testMap.contains(6)); in TEST()
289 EXPECT_FALSE(testMap.empty()); in TEST()
291 testMap.clear(); in TEST()
292 EXPECT_TRUE(testMap.empty()); in TEST()
296 testMap.insert(i); in TEST()
301 EXPECT_TRUE(testMap.contains(i)); in TEST()
308 FastIntegerSet testMap; in TEST() local
309 EXPECT_TRUE(testMap.empty()); in TEST()
311 testMap.insert(5); in TEST()
312 EXPECT_TRUE(testMap.contains(5)); in TEST()
313 EXPECT_FALSE(testMap.contains(6)); in TEST()
314 EXPECT_FALSE(testMap.empty()); in TEST()
316 testMap.clear(); in TEST()
317 EXPECT_TRUE(testMap.empty()); in TEST()
321 testMap.insert(i); in TEST()
326 EXPECT_TRUE(testMap.contains(i)); in TEST()
337 FastIntegerMap<std::string> testMap; in TEST() local
338 EXPECT_TRUE(testMap.empty()); in TEST()
341 testMap.insert(entries.begin()->first, entries.begin()->second); in TEST()
342 EXPECT_TRUE(testMap.contains(entries.begin()->first)); in TEST()
343 EXPECT_FALSE(testMap.contains(entries.rbegin()->first)); in TEST()
344 EXPECT_FALSE(testMap.empty()); in TEST()
345 EXPECT_EQ(testMap.size(), 1u); in TEST()
346 EXPECT_TRUE(testMap.get(entries.begin()->first, &str)); in TEST()
348 EXPECT_FALSE(testMap.get(1, &str)); in TEST()
350 testMap.clear(); in TEST()
351 EXPECT_TRUE(testMap.empty()); in TEST()
352 EXPECT_EQ(testMap.size(), 0u); in TEST()
356 testMap.insert(entry.first, entry.second); in TEST()
358 EXPECT_EQ(testMap.size(), 4u); in TEST()
363 EXPECT_TRUE(testMap.get(entry.first, &str)); in TEST()
367 testMap.clear(); in TEST()
368 EXPECT_TRUE(testMap.empty()); in TEST()
369 EXPECT_EQ(testMap.size(), 0u); in TEST()