void tst_Q3ValueList::insert() { Q3ValueList<int> a; a.append( 1 ); a.append( 10 ); a.append( 100 ); Q3ValueListIterator<int> it = a.fromLast(); it = a.insert( it, 1000 ); QCOMPARE( *(it), 1000 ); QCOMPARE( *(++it), 100 ); QCOMPARE( (int)a.count(), 4 ); it = a.fromLast(); a.insert( it, 10, 1234 ); QCOMPARE( (int)a.count(), 14 ); }