Lines Matching refs:two
520 vector<B> two; in testEraseElt() local
521 two.push_back(B()); in testEraseElt()
522 two.push_back(B()); in testEraseElt()
524 vector<B>::iterator res = two.erase(two.begin()); in testEraseElt()
526 EXPECT_TRUE(res == two.begin()); in testEraseElt()
527 EXPECT_TRUE(res != two.end()); in testEraseElt()
529 EXPECT_TRUE(two.begin() != two.end()); in testEraseElt()
530 EXPECT_TRUE(two.size() == 1); in testEraseElt()
584 vector<B> two; in testEraseRange() local
585 two.push_back(B()); in testEraseRange()
586 two.push_back(B()); in testEraseRange()
589 vector<B>::iterator res = two.erase(two.begin(), two.begin() + 1); in testEraseRange()
591 EXPECT_TRUE(res == two.begin()); in testEraseRange()
592 EXPECT_TRUE(res != two.end()); in testEraseRange()
594 EXPECT_TRUE(two.begin() != two.end()); in testEraseRange()
595 EXPECT_TRUE(two.size() == 1); in testEraseRange()
598 vector<B> two; in testEraseRange() local
599 two.push_back(B()); in testEraseRange()
600 two.push_back(B()); in testEraseRange()
603 vector<B>::iterator res = two.erase(two.begin(), two.begin()); in testEraseRange()
605 EXPECT_TRUE(res == two.begin()); in testEraseRange()
606 EXPECT_TRUE(res != two.end()); in testEraseRange()
608 EXPECT_TRUE(two.begin() != two.end()); in testEraseRange()
609 EXPECT_TRUE(two.size() == 2); in testEraseRange()