Removed deprecated functions ensure() and find(key) from set unit tests
[libcds.git] / tests / test-hdr / set / hdr_intrusive_skiplist_set_rcu.h
index be46d3fdda83f617d13d2d2eedcbc7fb9f99aa25..b7dfd78f5870f56b4deeb7ff6f313a0e3e20e469 100644 (file)
@@ -109,7 +109,7 @@ namespace set {
                 rcu_lock l;
                 for ( set_iterator it = s.begin(), itEnd = s.end(); it != itEnd; ++it ) {
                     CPPUNIT_ASSERT( (*it).nKey * 2 == it->nVal );
-                    CPPUNIT_ASSERT( s.find( it->nKey ));
+                    CPPUNIT_ASSERT( s.contains( it->nKey ));
                     it->nVal = (*it).nKey;
                     ++nCount;
                     if ( it != s.begin() ) {
@@ -138,7 +138,7 @@ namespace set {
 
             for ( size_t i = 0; i < sizeof(v)/sizeof(v[0]); ++i ) {
                 CPPUNIT_ASSERT( v[i].nKey == v[i].nVal );
-                CPPUNIT_ASSERT( s.find( v[i].nKey ));
+                CPPUNIT_ASSERT( s.contains( v[i].nKey ));
             }
 
             s.clear();