Refactored Map_InsDelFind MT-test
[libcds.git] / tests / unit / map2 / map_insdelfind_split.cpp
index f96c8839c5bee4d15237887d769dc8087a4a3534..70c7ab7483d942c326ad38c3b5ded92e86cd8e74 100644 (file)
@@ -3,10 +3,10 @@
 #include "map2/map_insdelfind.h"
 #include "map2/map_type_split_list.h"
 
-namespace map2 {
-    CDSUNIT_DEFINE_SplitList( cc::split_list::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_SplitList )
-        CDSUNIT_TEST_SplitList
-    CPPUNIT_TEST_SUITE_END_PART()
+namespace map2 {
+    CDSUNIT_DECLARE_SplitList
 } // namespace map2