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