Removed redundant spaces
[libcds.git] / test / stress / set / insdel_string / set_insdel_string.h
index f0e11a10262248840d55af321a79b719305e140e..6e03537dd2aa1d1c77674199d6f0c83d5c618971 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:
 
@@ -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.
 */
 
 #include "set_type.h"
@@ -358,7 +358,7 @@ namespace set {
             size_t nDeleteFailed = 0;
             for ( size_t i = 0; i < pool.size(); ++i ) {
                 cds_test::thread& thr = pool.get( i );
-                switch ( thr.type() ) {
+                switch ( thr.type()) {
                 case insert_thread:
                     {
                         InserterThread& inserter = static_cast<InserterThread&>( thr );
@@ -383,12 +383,12 @@ namespace set {
                 << std::make_pair( "delete_success", nDeleteSuccess )
                 << std::make_pair( "insert_failed", nInsertFailed )
                 << std::make_pair( "delete_failed", nDeleteFailed )
-                << std::make_pair( "final_set_size", testSet.size() );
+                << std::make_pair( "final_set_size", testSet.size());
 
             //testSet.clear();
             for (auto const& str: m_arrString )
                 testSet.erase( str );
-            EXPECT_TRUE( testSet.empty() );
+            EXPECT_TRUE( testSet.empty());
             EXPECT_EQ( testSet.size(), 0u );
 
             additional_check( testSet );
@@ -429,7 +429,7 @@ namespace set {
             size_t nExtractFailed = 0;
             for ( size_t i = 0; i < pool.size(); ++i ) {
                 cds_test::thread& thr = pool.get( i );
-                switch ( thr.type() ) {
+                switch ( thr.type()) {
                 case insert_thread:
                     {
                         InserterThread& inserter = static_cast<InserterThread&>(thr);
@@ -463,12 +463,12 @@ namespace set {
                 << std::make_pair( "insert_failed",  nInsertFailed )
                 << std::make_pair( "delete_failed",  nDeleteFailed )
                 << std::make_pair( "extract_failed", nExtractFailed )
-                << std::make_pair( "final_set_size", testSet.size() );
+                << std::make_pair( "final_set_size", testSet.size());
 
             //testSet.clear();
             for ( auto const& str : m_arrString )
                 testSet.erase( str );
-            EXPECT_TRUE( testSet.empty() );
+            EXPECT_TRUE( testSet.empty());
             EXPECT_EQ( testSet.size(), 0u );
 
             additional_check( testSet );