Removed trailing spaces
[libcds.git] / test / unit / set / test_michael_lazy_rcu.h
index ffe1e1002d337bcb22b8f6a7e2c4e31455bfbdea..3928bc008aea3cc86da5d8e25cff60d27c6ca8a5 100644 (file)
@@ -5,7 +5,7 @@
 
     Source code repo: http://github.com/khizmax/libcds/
     Download: http://sourceforge.net/projects/libcds/files/
-    
+
     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:
 
@@ -70,7 +70,7 @@ TYPED_TEST_P( MichaelLazySet, compare )
         >::type
     > list_type;
 
-    typedef cc::MichaelHashSet< rcu_type, list_type, 
+    typedef cc::MichaelHashSet< rcu_type, list_type,
         typename cc::michael_set::make_traits<
             cds::opt::hash< typename TestFixture::hash_int >
         >::type
@@ -91,7 +91,7 @@ TYPED_TEST_P( MichaelLazySet, less )
         >::type
     > list_type;
 
-    typedef cc::MichaelHashSet< rcu_type, list_type, 
+    typedef cc::MichaelHashSet< rcu_type, list_type,
         typename cc::michael_set::make_traits<
             cds::opt::hash< typename TestFixture::hash_int >
         >::type
@@ -238,6 +238,7 @@ TYPED_TEST_P( MichaelLazySet, stat )
 
     set_type s( TestFixture::kSize, 4 );
     this->test( s );
+    EXPECT_GE( s.statistics().m_nInsertSuccess, 0u );
 }
 
 TYPED_TEST_P( MichaelLazySet, wrapped_stat )
@@ -262,6 +263,7 @@ TYPED_TEST_P( MichaelLazySet, wrapped_stat )
 
     set_type s( TestFixture::kSize, 4 );
     this->test( s );
+    EXPECT_GE( s.statistics().m_nInsertSuccess, 0u );
 }
 
 // GCC 5: All test names should be written on single line, otherwise a runtime error will be encountered like as
@@ -272,4 +274,4 @@ REGISTER_TYPED_TEST_CASE_P( MichaelLazySet,
 
 
 #endif // CDSUNIT_SET_TEST_INTRUSIVE_MICHAEL_LAZY_RCU_H
\ No newline at end of file
+