Refactored Set_InsDelFind MT-test
[libcds.git] / tests / unit / set2 / set_insdelfind_std.cpp
index d5e999d91397122440bdbe88616a7dd91c980bda..548f16cd94cd78ad4dadc643d346880b33b07e48 100644 (file)
@@ -3,10 +3,10 @@
 #include "set2/set_insdelfind.h"
 #include "set2/set_type_std.h"
 
-namespace set2 {
-    CDSUNIT_DEFINE_StdSet(std_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_StdSet )
-        CDSUNIT_TEST_StdSet
-    CPPUNIT_TEST_SUITE_END_PART()
+namespace set2 {
+    CDSUNIT_DECLARE_StdSet
 } // namespace set2