It is just a fixed version of tests for ordered nonintrusive and
key/value lists.
CPPUNIT_ASSERT( it->nKey == 100 );
CPPUNIT_ASSERT( it->nVal == 33 );
+ it = l.find_with( 150, equal_to<value_type>() );
+ CPPUNIT_ASSERT( it != l.end() );
+ CPPUNIT_ASSERT( it->nKey == 150 );
+ CPPUNIT_ASSERT( it->nVal == it->nKey * 2 );
+
CPPUNIT_ASSERT( !l.empty() );
l.clear();
CPPUNIT_ASSERT( l.empty() );
CPPUNIT_ASSERT( it.key() == 100 );
CPPUNIT_ASSERT( it.val().m_val == 0 );
+ CPPUNIT_ASSERT( l.find_with( 50, eq<key_type>() ) == l.end() );
CPPUNIT_ASSERT( l.insert( 50, 500 ) != l.end());
it = l.find( 50 );
CPPUNIT_ASSERT( it != l.end() );