StripedSet: replace ensure() with update()
[libcds.git] / tests / unit / map2 / map_find_int_skip.cpp
index 6ede5c5113c2b6909f1f420d13b06dae7dde2b91..717a85fd0cd5fdf43772723a6d03f220896227c9 100644 (file)
@@ -3,12 +3,11 @@
 #include "map2/map_find_int.h"
 #include "map2/map_type_skip_list.h"
 
-namespace map2 {
-    CDSUNIT_DEFINE_SkipListMap( cc::skip_list::implementation_tag, Map_find_int)
-    CDSUNIT_DEFINE_SkipListMap_nogc( cc::skip_list::implementation_tag, Map_find_int)
+#undef TEST_CASE
+#define TEST_CASE(TAG, X)  void Map_find_int::X() { run_test<typename map_type< TAG, key_type, value_type>::X>(); }
+#include "map2/map_defs.h"
 
-    CPPUNIT_TEST_SUITE_PART( Map_find_int, run_SkipListMap )
-        CDSUNIT_TEST_SkipListMap
-        CDSUNIT_TEST_SkipListMap_nogc
-    CPPUNIT_TEST_SUITE_END_PART()
+namespace map2 {
+    CDSUNIT_DECLARE_SkipListMap
+    CDSUNIT_DECLARE_SkipListMap_nogc
 } // namespace map2