Refactored Set_InsDelFind MT-test
[libcds.git] / tests / unit / set2 / set_insdelfind_michael.cpp
index 631111ff290050343fb4433d5827b3525c45099d..225933b8ec76abc34cd694d7f66eb2fb7a32e60e 100644 (file)
@@ -1,9 +1,12 @@
 //$$CDS-header$$
 
 #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 {
-    CPPUNIT_TEST_SUITE_PART( Set_InsDelFind, run_MichaelSet )
-        CDSUNIT_TEST_MichaelSet
-    CPPUNIT_TEST_SUITE_END_PART()
+    CDSUNIT_DECLARE_MichaelSet
 } // namespace set2