- CPPUNIT_ASSERT( gp->nKey == arrItem[i].nKey );
- CPPUNIT_ASSERT( gp->nVal == arrItem[i].nVal );
- gp.release();
-
- CPPUNIT_ASSERT( !l.get_with( gp, itm, other_less() ));
- CPPUNIT_ASSERT( gp.empty());
- CPPUNIT_ASSERT( !l.extract_with( gp, itm, other_less() ));
- CPPUNIT_ASSERT( gp.empty());
+ CPPUNIT_CHECK( gp->nKey == arrItem[i].nKey );
+ CPPUNIT_CHECK( gp->nVal == arrItem[i].nVal );
+
+ gp = l.get_with( itm, other_less() );
+ CPPUNIT_CHECK( !gp );
+ CPPUNIT_CHECK( gp.empty());
+ CPPUNIT_CHECK( !l.extract_with( itm, other_less() ));
+ CPPUNIT_CHECK( gp.empty());