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

References

unittests/ADT/IntervalMapTest.cpp
  538     ASSERT_TRUE(I.valid());
  539     EXPECT_EQ(10*i, I.start());
  540     EXPECT_EQ(10*i+5, I.stop());
  541     EXPECT_EQ(i, *I);
  542     ++I;
  544   EXPECT_FALSE(I.valid());
  545   EXPECT_TRUE(I == map.end());
  549     --I;
  550     ASSERT_TRUE(I.valid());
  551     EXPECT_EQ(10*i, I.start());
  552     EXPECT_EQ(10*i+5, I.stop());
  553     EXPECT_EQ(i, *I);
  555   EXPECT_TRUE(I == map.begin());
  558   I.advanceTo(20);
  559   ASSERT_TRUE(I.valid());
  560   EXPECT_EQ(20u, I.start());
  561   EXPECT_EQ(25u, I.stop());
  564   I.advanceTo(200);
  565   ASSERT_TRUE(I.valid());
  566   EXPECT_EQ(200u, I.start());
  567   EXPECT_EQ(205u, I.stop());
  570   I.advanceTo(2000);
  571   ASSERT_TRUE(I.valid());
  572   EXPECT_EQ(2000u, I.start());
  573   EXPECT_EQ(2005u, I.stop());
  576   I.advanceTo(20000);
  577   EXPECT_FALSE(I.valid());
  580   I.advanceTo(30000);
  581   EXPECT_FALSE(I.valid());