Refactored Map_InsDelFind MT-test
[libcds.git] / tests / unit / map2 / map_insdelfind_ellentree.cpp
index 43dc8109922c546add94539e8f7a6a49426888f2..4bc50106865dd0e77c94b8ec1f402c013b6ecd58 100644 (file)
@@ -3,10 +3,10 @@
 #include "map2/map_insdelfind.h"
 #include "map2/map_type_ellen_bintree.h"
 
-namespace map2 {
-    CDSUNIT_DEFINE_EllenBinTreeMap( cc::ellen_bintree::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_EllenBinTreeMap )
-        CDSUNIT_TEST_EllenBinTreeMap
-    CPPUNIT_TEST_SUITE_END_PART()
+namespace map2 {
+    CDSUNIT_DECLARE_EllenBinTreeMap
 } // namespace map2