Added new option hash_size for FeldmanHashSet
[libcds.git] / test / unit / set / test_michael_lazy_rcu.h
index e5e99e03e261a9810e3a0e61ebb402943c57f5a5..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,7 +238,7 @@ TYPED_TEST_P( MichaelLazySet, stat )
 
     set_type s( TestFixture::kSize, 4 );
     this->test( s );
-    EXPECT_GE( s.statistics().m_nInsertSuccess, 0 );
+    EXPECT_GE( s.statistics().m_nInsertSuccess, 0u );
 }
 
 TYPED_TEST_P( MichaelLazySet, wrapped_stat )
@@ -263,7 +263,7 @@ TYPED_TEST_P( MichaelLazySet, wrapped_stat )
 
     set_type s( TestFixture::kSize, 4 );
     this->test( s );
-    EXPECT_GE( s.statistics().m_nInsertSuccess, 0 );
+    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
@@ -274,4 +274,4 @@ REGISTER_TYPED_TEST_CASE_P( MichaelLazySet,
 
 
 #endif // CDSUNIT_SET_TEST_INTRUSIVE_MICHAEL_LAZY_RCU_H
\ No newline at end of file
+