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

References

unittests/ADT/IntervalMapTest.cpp
  638   map.insert(10, 20, 0);
  639   map.insert(30, 40, 0);
  640   map.insert(50, 60, 0);
  642   EXPECT_FALSE(map.overlaps(0, 9));
  643   EXPECT_FALSE(map.overlaps(0, 10));
  644   EXPECT_TRUE(map.overlaps(0, 15));
  645   EXPECT_TRUE(map.overlaps(0, 25));
  646   EXPECT_TRUE(map.overlaps(0, 45));
  647   EXPECT_TRUE(map.overlaps(10, 45));
  648   EXPECT_TRUE(map.overlaps(30, 45));
  649   EXPECT_TRUE(map.overlaps(35, 36));
  650   EXPECT_FALSE(map.overlaps(40, 45));
  651   EXPECT_FALSE(map.overlaps(45, 46));
  652   EXPECT_FALSE(map.overlaps(60, 61));
  653   EXPECT_FALSE(map.overlaps(60, 66));
  654   EXPECT_FALSE(map.overlaps(66, 67));