[BronsonAVLTree] Fixed bug of counting of inserted items
[libcds.git] / tests / unit / map2 / map_insdel_string.h
index 294b92987861e88f0dbbdb49573c6eb2021bdbe2..5e860594e3d5bf5de6cca90a31c4cdf2663b8d86 100644 (file)
@@ -214,6 +214,7 @@ namespace map2 {
                 testMap.erase( (*m_parrString)[i] );
             CPPUNIT_MSG( "   Duration=" << timer.duration() );
             CPPUNIT_CHECK( testMap.empty() );
+            CPPUNIT_CHECK_EX( testMap.size() == 0, "size() == " << testMap.size() );
 
             additional_check( testMap );
             print_stat( testMap );