Refactored Set_InsDelFind MT-test
[libcds.git] / tests / unit / set2 / set_insdelfind_cuckoo.cpp
index f5986abdb7b606097c6e64e11eb77240ddd0a76b..48069d26f3e368ad339368b22e6e35868d5991f1 100644 (file)
@@ -1,9 +1,12 @@
 //$$CDS-header$$
 
 #include "set2/set_insdelfind.h"
+#include "set2/set_type_cuckoo.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_CuckooSet )
-        CDSUNIT_TEST_CuckooSet
-    CPPUNIT_TEST_SUITE_END_PART()
+    CDSUNIT_DECLARE_CuckooSet
 } // namespace set2