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

References

unittests/ADT/IntervalMapTest.cpp
   58   map.insert(100, 150, 1);
   59   EXPECT_FALSE(map.empty());
   62   EXPECT_EQ(0u, map.lookup(0));
   63   EXPECT_EQ(0u, map.lookup(99));
   64   EXPECT_EQ(1u, map.lookup(100));
   65   EXPECT_EQ(1u, map.lookup(101));
   66   EXPECT_EQ(1u, map.lookup(125));
   67   EXPECT_EQ(1u, map.lookup(149));
   68   EXPECT_EQ(1u, map.lookup(150));
   69   EXPECT_EQ(0u, map.lookup(151));
   70   EXPECT_EQ(0u, map.lookup(200));
   71   EXPECT_EQ(0u, map.lookup(~0u-1));
   74   EXPECT_TRUE(map.begin() == map.begin());
   74   EXPECT_TRUE(map.begin() == map.begin());
   75   EXPECT_FALSE(map.begin() == map.end());
   75   EXPECT_FALSE(map.begin() == map.end());
   76   EXPECT_TRUE(map.end() == map.end());
   76   EXPECT_TRUE(map.end() == map.end());
   77   EXPECT_TRUE(map.begin().valid());
   78   EXPECT_FALSE(map.end().valid());
   81   UUMap::iterator I = map.begin();
   90   EXPECT_FALSE(I == map.begin());
   91   EXPECT_TRUE(I == map.end());
   99   EXPECT_TRUE(I == map.begin());
  100   EXPECT_FALSE(I == map.end());
  151   EXPECT_TRUE(map.empty());
  152   EXPECT_EQ(0, std::distance(map.begin(), map.end()));
  152   EXPECT_EQ(0, std::distance(map.begin(), map.end()));