formatting
[libcds.git] / test / stress / set / iteration / set_iteration.cpp
index 888a620d13c4bb1e7c1c036ae1f1e1a0438f25b2..8012b263f64ef047cc9122130925d8c082f9096c 100644 (file)
@@ -114,5 +114,13 @@ namespace set {
         return lf;
     }
 
+#ifdef CDSTEST_GTEST_INSTANTIATE_TEST_CASE_P_HAS_4TH_ARG
+    static std::string get_test_parameter_name( testing::TestParamInfo<size_t> const& p )
+    {
+        return std::to_string( p.param );
+    }
+    INSTANTIATE_TEST_CASE_P( a, Set_Iteration_LF, ::testing::ValuesIn( Set_Iteration_LF::get_load_factors()), get_test_parameter_name );
+#else
     INSTANTIATE_TEST_CASE_P( a, Set_Iteration_LF, ::testing::ValuesIn( Set_Iteration_LF::get_load_factors()));
+#endif
 } // namespace set