X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=test%2Fstress%2Fmap%2Finsdel_func%2Fmap_insdel_func.h;h=07a920df7f6202a275174135c45c7c4deb45d244;hp=ab9637794299c5b7998ac9445c04afc398c727e0;hb=0acf9f11bb0428faf75871e1de1aad7d5c26ed93;hpb=f57718595244a4ca7a0cbaa77d4c1b70c9556b2c diff --git a/test/stress/map/insdel_func/map_insdel_func.h b/test/stress/map/insdel_func/map_insdel_func.h index ab963779..07a920df 100644 --- a/test/stress/map/insdel_func/map_insdel_func.h +++ b/test/stress/map/insdel_func/map_insdel_func.h @@ -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: @@ -227,7 +227,7 @@ namespace map { operator()( bNew, val.first, val.second ); } - // For FeldmanHashMap + // For FeldmanHashMap, IterableList template void operator()( Val& cur, Val * old ) { @@ -517,6 +517,7 @@ namespace map { testMap.erase( nItem ); EXPECT_TRUE( testMap.empty()); + EXPECT_EQ( testMap.size(), 0u ); additional_check( testMap ); print_stat( propout(), testMap );