Home | History | Annotate | Download | only in ADT

Lines Matching full:rit

265   VectorType::reverse_iterator rit = theVector.rbegin();
266 EXPECT_TRUE(*rit == theVector[1]);
267 EXPECT_EQ(2, rit->getValue());
268 ++rit;
269 EXPECT_TRUE(*rit == theVector[0]);
270 EXPECT_EQ(1, rit->getValue());
271 ++rit;
272 EXPECT_TRUE(rit == theVector.rend());
273 --rit;
274 EXPECT_TRUE(*rit == theVector[0]);
275 EXPECT_EQ(1, rit->getValue());
276 --rit;
277 EXPECT_TRUE(*rit == theVector[1]);
278 EXPECT_EQ(2, rit->getValue());