Changed stack stress-test params for debug build
[libcds.git] / test / unit / intrusive-set / test_intrusive_split_iterable_set.h
index 91bfbb58cc76b7ddcb202b59f8f53857550ba775..4cfcda90511f85608702c9af1706d4d8608fa700 100644 (file)
@@ -396,8 +396,11 @@ namespace cds_test {
                 EXPECT_EQ( i.nFindCount, 1u );
             }
 
-            // clear test
-            s.clear();
+            // erase_at() test
+            for ( auto it = s.begin(); it != s.end(); ++it ) {
+                EXPECT_TRUE( s.erase_at( it ));
+                EXPECT_FALSE( s.erase_at( it ));
+            }
 
             ASSERT_TRUE( s.empty());
             ASSERT_CONTAINER_SIZE( s, 0u );