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

References

unittests/ADT/IntervalMapTest.cpp
   82   ASSERT_TRUE(I.valid());
   83   EXPECT_EQ(100u, I.start());
   84   EXPECT_EQ(150u, I.stop());
   85   EXPECT_EQ(1u, I.value());
   88   ++I;
   89   EXPECT_FALSE(I.valid());
   90   EXPECT_FALSE(I == map.begin());
   91   EXPECT_TRUE(I == map.end());
   94   --I;
   95   ASSERT_TRUE(I.valid());
   96   EXPECT_EQ(100u, I.start());
   97   EXPECT_EQ(150u, I.stop());
   98   EXPECT_EQ(1u, I.value());
   99   EXPECT_TRUE(I == map.begin());
  100   EXPECT_FALSE(I == map.end());
  103   I.setValue(2);
  104   ASSERT_TRUE(I.valid());
  105   EXPECT_EQ(100u, I.start());
  106   EXPECT_EQ(150u, I.stop());
  107   EXPECT_EQ(2u, I.value());
  110   I.setStart(0);
  111   ASSERT_TRUE(I.valid());
  112   EXPECT_EQ(0u, I.start());
  113   EXPECT_EQ(150u, I.stop());
  114   EXPECT_EQ(2u, I.value());
  116   I.setStop(200);
  117   ASSERT_TRUE(I.valid());
  118   EXPECT_EQ(0u, I.start());
  119   EXPECT_EQ(200u, I.stop());
  120   EXPECT_EQ(2u, I.value());
  123   I.setStart(150);
  124   ASSERT_TRUE(I.valid());
  125   EXPECT_EQ(150u, I.start());
  126   EXPECT_EQ(200u, I.stop());
  127   EXPECT_EQ(2u, I.value());
  130   I.setStop(150);
  131   ASSERT_TRUE(I.valid());
  132   EXPECT_EQ(150u, I.start());
  133   EXPECT_EQ(150u, I.stop());
  134   EXPECT_EQ(2u, I.value());
  136   I.setStop(160);
  137   ASSERT_TRUE(I.valid());
  138   EXPECT_EQ(150u, I.start());
  139   EXPECT_EQ(160u, I.stop());
  140   EXPECT_EQ(2u, I.value());
  143   I.setStart(160);
  144   ASSERT_TRUE(I.valid());
  145   EXPECT_EQ(160u, I.start());
  146   EXPECT_EQ(160u, I.stop());
  147   EXPECT_EQ(2u, I.value());
  150   I.erase();