Added internal statistics to MichaelSet/Map
[libcds.git] / test / unit / set / test_michael_michael_rcu.h
index c6b9ea0d7ab28603d26766002709272e49e8938b..73163d8ddf5f9b2b01caa30b014167ea011d084a 100644 (file)
@@ -214,6 +214,7 @@ TYPED_TEST_P( MichaelSet, stat )
 
     set_type s( TestFixture::kSize, 4 );
     this->test( s );
+    EXPECT_GE( s.statistics().m_nInsertSuccess, 0 );
 }
 
 TYPED_TEST_P( MichaelSet, wrapped_stat )
@@ -238,6 +239,7 @@ TYPED_TEST_P( MichaelSet, wrapped_stat )
 
     set_type s( TestFixture::kSize, 4 );
     this->test( s );
+    EXPECT_GE( s.statistics().m_nInsertSuccess, 0 );
 }
 
 // GCC 5: All test names should be written on single line, otherwise a runtime error will be encountered like as