Lines Matching refs:lookup
26 EXPECT_EQ(0u, map.lookup(0)); in TEST()
27 EXPECT_EQ(7u, map.lookup(0, 7)); in TEST()
28 EXPECT_EQ(0u, map.lookup(~0u-1)); in TEST()
29 EXPECT_EQ(7u, map.lookup(~0u-1, 7)); in TEST()
61 EXPECT_EQ(0u, map.lookup(0)); in TEST()
62 EXPECT_EQ(0u, map.lookup(99)); in TEST()
63 EXPECT_EQ(1u, map.lookup(100)); in TEST()
64 EXPECT_EQ(1u, map.lookup(101)); in TEST()
65 EXPECT_EQ(1u, map.lookup(125)); in TEST()
66 EXPECT_EQ(1u, map.lookup(149)); in TEST()
67 EXPECT_EQ(1u, map.lookup(150)); in TEST()
68 EXPECT_EQ(0u, map.lookup(151)); in TEST()
69 EXPECT_EQ(0u, map.lookup(200)); in TEST()
70 EXPECT_EQ(0u, map.lookup(~0u-1)); in TEST()
163 EXPECT_EQ(2u, map.lookup(89)); in TEST()
164 EXPECT_EQ(1u, map.lookup(90)); in TEST()
182 EXPECT_EQ(2u, map.lookup(201)); in TEST()
183 EXPECT_EQ(1u, map.lookup(200)); in TEST()
344 EXPECT_EQ(0u, map.lookup(10*i-1)); in TEST()
345 EXPECT_EQ(i, map.lookup(10*i)); in TEST()
346 EXPECT_EQ(i, map.lookup(10*i+5)); in TEST()
347 EXPECT_EQ(0u, map.lookup(10*i+6)); in TEST()
483 EXPECT_EQ(0u, map.lookup(10*i-1)); in TEST()
484 EXPECT_EQ(i, map.lookup(10*i)); in TEST()
485 EXPECT_EQ(i, map.lookup(10*i+5)); in TEST()
486 EXPECT_EQ(0u, map.lookup(10*i+6)); in TEST()