[BronsonAVLTree] Fixed bug of counting of inserted items
[libcds.git] / tests / unit / map2 / map_insdel_int.h
index 20e3720f56fa840302c171c5ae8843ad252ef0b9..21a72974bf80ccb133a5ec663daa0d2d3eeacdfd 100644 (file)
@@ -210,7 +210,8 @@ namespace map2 {
                 testMap.erase( nItem );
             }
             CPPUNIT_MSG( "   Duration=" << timer.duration() );
-            CPPUNIT_ASSERT_EX( testMap.empty(), ((long long) testMap.size()) );
+            CPPUNIT_CHECK( testMap.empty());
+            CPPUNIT_CHECK_EX( testMap.size() == 0, "size() == " << testMap.size() );
 
             additional_check( testMap );
             print_stat( testMap );