Removed redundant spaces
[libcds.git] / test / unit / tree / test_tree_map_rcu.h
index b358b8d4730c4c5605f4ec09f6a89656948986a2..fa614fed0f3481c463cfe3eccf5c7fd70d36c8a1 100644 (file)
@@ -67,8 +67,8 @@ namespace cds_test {
             }
 
             for ( auto const& i : arrKeys )
-                ASSERT_TRUE( m.insert( i ) );
-            ASSERT_FALSE( m.empty() );
+                ASSERT_TRUE( m.insert( i ));
+            ASSERT_FALSE( m.empty());
             ASSERT_CONTAINER_SIZE( m, kkSize );
 
             typedef typename Map::exempt_ptr    exempt_ptr;
@@ -76,7 +76,7 @@ namespace cds_test {
             typedef typename Map::rcu_lock      rcu_lock;
 
             // get/extract
-            shuffle( arrKeys.begin(), arrKeys.end() );
+            shuffle( arrKeys.begin(), arrKeys.end());
 
             exempt_ptr xp;
             for ( auto const& i : arrKeys ) {
@@ -119,7 +119,7 @@ namespace cds_test {
                             xp = m.extract( val.strVal );
                             break;
                         case 3:
-                            xp = m.extract_with( other_item( i.nKey ), other_less() );
+                            xp = m.extract_with( other_item( i.nKey ), other_less());
                             break;
                         }
                         ASSERT_FALSE( !xp );
@@ -142,7 +142,7 @@ namespace cds_test {
                             xp = m.extract( val.strVal );
                             break;
                         case 3:
-                            xp = m.extract_with( other_item( i.nKey ), other_less() );
+                            xp = m.extract_with( other_item( i.nKey ), other_less());
                             break;
                         }
                         EXPECT_TRUE( !xp );
@@ -178,7 +178,7 @@ namespace cds_test {
                         xp = m.extract( val.strVal );
                         break;
                     case 3:
-                        xp = m.extract_with( other_item( i.nKey ), other_less() );
+                        xp = m.extract_with( other_item( i.nKey ), other_less());
                         break;
                     }
                     EXPECT_TRUE( !xp );
@@ -192,22 +192,22 @@ namespace cds_test {
                     ASSERT_TRUE( !rp );
                     rp = m.get( i );
                     ASSERT_TRUE( !rp );
-                    rp = m.get_with( other_item( i.nKey ), other_less() );
+                    rp = m.get_with( other_item( i.nKey ), other_less());
                     ASSERT_TRUE( !rp );
                 }
             }
 
-            ASSERT_TRUE( m.empty() );
+            ASSERT_TRUE( m.empty());
             ASSERT_CONTAINER_SIZE( m, 0 );
 
 
             // extract_min
             for ( auto const& i : arrKeys )
-                ASSERT_TRUE( m.insert( i ) );
+                ASSERT_TRUE( m.insert( i ));
 
             size_t nCount = 0;
             int nKey = -1;
-            while ( !m.empty() ) {
+            while ( !m.empty()) {
                 xp = m.extract_min();
                 ASSERT_FALSE( !xp );
                 EXPECT_EQ( xp->first.nKey, nKey + 1 );
@@ -219,7 +219,7 @@ namespace cds_test {
             xp = m.extract_max();
             ASSERT_TRUE( !xp );
             EXPECT_EQ( kkSize, nCount );
-            ASSERT_TRUE( m.empty() );
+            ASSERT_TRUE( m.empty());
             ASSERT_CONTAINER_SIZE( m, 0 );
 
             // extract_max
@@ -229,11 +229,11 @@ namespace cds_test {
             EXPECT_TRUE( !xp );
 
             for ( auto const& i : arrKeys )
-                ASSERT_TRUE( m.insert( i ) );
+                ASSERT_TRUE( m.insert( i ));
 
             nKey = kkSize;
             nCount = 0;
-            while ( !m.empty() ) {
+            while ( !m.empty()) {
                 xp = m.extract_max();
                 ASSERT_FALSE( !xp );
                 EXPECT_EQ( xp->first.nKey, nKey - 1 );
@@ -246,7 +246,7 @@ namespace cds_test {
             xp = m.extract_max();
             ASSERT_TRUE( !xp );
             EXPECT_EQ( kkSize, nCount );
-            ASSERT_TRUE( m.empty() );
+            ASSERT_TRUE( m.empty());
             ASSERT_CONTAINER_SIZE( m, 0 );
         }
     };