Searched refs:rit (Results 1 – 2 of 2) sorted by relevance
261 set<int>::reverse_iterator rit(tree.rbegin()); in reverse_iterator_test() local262 CPPUNIT_ASSERT( *(rit++) == 2 ); in reverse_iterator_test()263 CPPUNIT_ASSERT( *(rit++) == 1 ); in reverse_iterator_test()264 CPPUNIT_ASSERT( rit == tree.rend() ); in reverse_iterator_test()269 set<int>::const_reverse_iterator rit(ctree.rbegin()); in reverse_iterator_test() local270 CPPUNIT_ASSERT( *(rit++) == 2 ); in reverse_iterator_test()271 CPPUNIT_ASSERT( *(rit++) == 1 ); in reverse_iterator_test()272 CPPUNIT_ASSERT( rit == ctree.rend() ); in reverse_iterator_test()