Refactored Set_InsDelFind MT-test
[libcds.git] / tests / unit / set2 / set_insdelfind_michael.cpp
index dc4ca5649e9dacf16a3e5015f92c14278ab26d93..225933b8ec76abc34cd694d7f66eb2fb7a32e60e 100644 (file)
@@ -3,11 +3,10 @@
 #include "set2/set_insdelfind.h"
 #include "set2/set_type_michael.h"
 
+#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"
 
 namespace set2 {
-    CDSUNIT_DEFINE_MichaelSet( cc::michael_set::implementation_tag, Set_InsDelFind )
-
-    CPPUNIT_TEST_SUITE_PART( Set_InsDelFind, run_MichaelSet )
-        CDSUNIT_TEST_MichaelSet
-    CPPUNIT_TEST_SUITE_END_PART()
+    CDSUNIT_DECLARE_MichaelSet
 } // namespace set2