Refactored Set_InsDelFind MT-test
[libcds.git] / tests / unit / set2 / set_insdelfind_split.cpp
index 4c393df3e4016741ed8ba225a7e232c30894a030..f6c602db1a28fa26ad70beca4a21b684a6fb858f 100644 (file)
@@ -3,10 +3,10 @@
 #include "set2/set_insdelfind.h"
 #include "set2/set_type_split_list.h"
 
-namespace set2 {
-    CDSUNIT_DEFINE_SplitList(cc::split_list::implementation_tag, Set_InsDelFind)
+#undef TEST_CASE
+#define TEST_CASE(TAG, X)  void Set_InsDelFind::X() { run_test<typename set_type< TAG, key_type, value_type>::X>(); }
+#include "set2/set_defs.h"
 
-    CPPUNIT_TEST_SUITE_PART( Set_InsDelFind, run_SplitList )
-        CDSUNIT_TEST_SplitList
-    CPPUNIT_TEST_SUITE_END_PART()
+namespace set2 {
+    CDSUNIT_DECLARE_SplitList
 } // namespace set2