Trims down unnecessary test cases for Stacks
[libcds.git] / test / stress / stack / push.cpp
index a580e85861eb3f89e73f41f217d45ad711d3eb02..5d0b868b11fdda27eabc0177fd0c0d08a4c69ec5 100644 (file)
@@ -193,8 +193,9 @@ namespace {
             size_t nError = 0;
             for ( size_t i = 0; i < nTotalItems; ++i ) {
                 EXPECT_EQ( arr[i], 1 ) << "i=" << i;
-                if ( ++nError > 10 )
+                if ( ++nError > 10 ) {
                     ASSERT_EQ( arr[i], 1 );
+                }
             }
         }
     };
@@ -203,6 +204,5 @@ namespace {
     CDSSTRESS_EliminationStack( stack_push )
     CDSSTRESS_FCStack( stack_push )
     CDSSTRESS_FCDeque( stack_push )
-    CDSSTRESS_StdStack( stack_push )
 
 } // namespace