Refactored Map_InsDel_Item_string MT-test
[libcds.git] / tests / unit / map2 / map_insdel_item_string_michael.cpp
index 3e35739a0e9a9a4c60771a619def435f2711d1d6..eee9bc9c9d1e39c5f89b4c919312435e55520676 100644 (file)
@@ -3,10 +3,10 @@
 #include "map2/map_insdel_item_string.h"
 #include "map2/map_type_michael.h"
 
-namespace map2 {
-    CDSUNIT_DEFINE_MichaelMap( cc::michael_map::implementation_tag, Map_InsDel_Item_string )
+#undef TEST_CASE
+#define TEST_CASE(TAG, X)  void Map_InsDel_Item_string::X() { run_test<typename map_type< TAG, key_type, value_type>::X>(); }
+#include "map2/map_defs.h"
 
-    CPPUNIT_TEST_SUITE_PART( Map_InsDel_Item_string, run_MichaelMap )
-        CDSUNIT_TEST_MichaelMap
-    CPPUNIT_TEST_SUITE_END_PART()
+namespace map2 {
+    CDSUNIT_DECLARE_MichaelMap
 } // namespace map2