reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/IntervalMapTest.cpp
  378     map.insert(10*i, 10*i+5, i);
  379     EXPECT_EQ(10u, map.start());
  380     EXPECT_EQ(10*i+5, map.stop());
  384   EXPECT_FALSE(map.empty());
  385   EXPECT_EQ(10u, map.start());
  386   EXPECT_EQ(995u, map.stop());
  390     EXPECT_EQ(0u, map.lookup(10*i-1));
  391     EXPECT_EQ(i, map.lookup(10*i));
  392     EXPECT_EQ(i, map.lookup(10*i+5));
  393     EXPECT_EQ(0u, map.lookup(10*i+6));
  397   UUMap::iterator I = map.begin();
  406   EXPECT_TRUE(I == map.end());
  416   EXPECT_TRUE(I == map.begin());
  498   I = map.begin();
  501     EXPECT_TRUE(I == map.begin());
  502     EXPECT_FALSE(map.empty());
  503     EXPECT_EQ(I.start(), map.start());
  504     EXPECT_EQ(995u, map.stop());
  508   map.clear();
  509   EXPECT_TRUE(map.empty());
  510   EXPECT_TRUE(map.begin() == map.end());
  510   EXPECT_TRUE(map.begin() == map.end());