HP and DHP SMR totally refactored
[libcds.git] / test / unit / list / test_list_hp.h
index 67cb38cbb34943eab78cee345a8e3f1da099788f..c65ab55a9dacad8d8e4854a9f96cfa4051353988 100644 (file)
@@ -1,11 +1,11 @@
 /*
     This file is a part of libcds - Concurrent Data Structures library
 
-    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
+    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
 
     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:
 
@@ -25,7 +25,7 @@
     SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
     OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     
+    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
 #ifndef CDSUNIT_LIST_TEST_LIST_HP_H
@@ -55,7 +55,7 @@ namespace cds_test {
             }
             shuffle( arr, arr + nSize );
 
-            ASSERT_TRUE( l.empty() );
+            ASSERT_TRUE( l.empty());
             ASSERT_CONTAINER_SIZE( l, 0 );
 
             guarded_ptr gp;
@@ -83,16 +83,16 @@ namespace cds_test {
                 gp->nVal = gp->nKey * 10;
 
                 ++nCount;
-                ASSERT_FALSE( l.empty() );
+                ASSERT_FALSE( l.empty());
                 ASSERT_CONTAINER_SIZE( l, nCount );
             }
 
-            ASSERT_FALSE( l.empty() );
+            ASSERT_FALSE( l.empty());
             ASSERT_CONTAINER_SIZE( l, nSize );
 
             // extract() test
             for ( auto const& i : arr ) {
-                ASSERT_FALSE( l.empty() );
+                ASSERT_FALSE( l.empty());
                 ASSERT_CONTAINER_SIZE( l, nCount );
                 --nCount;
 
@@ -126,7 +126,7 @@ namespace cds_test {
                 EXPECT_FALSE( gp );
             }
 
-            ASSERT_TRUE( l.empty() );
+            ASSERT_TRUE( l.empty());
             ASSERT_CONTAINER_SIZE( l, 0 );
         }
     };