"Win32.*", // platform
"real_concept", // test type(s)
"factorials", // test data group
- "boost::math::tgamma", 200, 100); // test function
+ "boost::math::tgamma", 600, 200); // test function
add_expected_result(
"GNU.*", // compiler
".*", // stdlib
"Win32.*", // platform
"real_concept", // test type(s)
"near.*", // test data group
- "boost::math::tgamma", 200, 60); // test function
+ "boost::math::tgamma", 200, 100); // test function
//
// G++ on Linux, result vary a bit by processor type,
// on Itanium results are *much* better than listed here,
"linux", // platform
largest_type, // test type(s)
"factorials", // test data group
- "boost::math::tgamma", 400, 200); // test function
+ "boost::math::tgamma", 600, 200); // test function
add_expected_result(
".*", // compiler
".*", // stdlib
"linux", // platform
"real_concept", // test type(s)
"factorials", // test data group
- "boost::math::tgamma", 220, 70); // test function
+ "boost::math::tgamma", 600, 100); // test function
add_expected_result(
".*", // compiler
".*", // stdlib
"linux", // platform
"real_concept", // test type(s)
"near (0|-55)", // test data group
- "boost::math::(t|l)gamma", 130, 80); // test function
+ "boost::math::(t|l)gamma", 300, 150); // test function
add_expected_result(
".*", // compiler
".*", // stdlib
".*", // platform
"real_concept", // test type(s)
"factorials", // test data group
- "boost::math::tgamma", 70, 25); // test function
+ "boost::math::tgamma", 600, 100); // test function
add_expected_result(
".*", // compiler
".*", // stdlib
".*", // platform
"real_concept", // test type(s)
"factorials", // test data group
- "boost::math::lgamma", 40, 4); // test function
+ "boost::math::lgamma", 200, 20); // test function
add_expected_result(
".*", // compiler
".*", // stdlib
".*", // platform
"real_concept", // test type(s)
"near.*", // test data group
- "boost::math::tgamma", 80, 60); // test function
+ "boost::math::tgamma", 300, 100); // test function
add_expected_result(
".*", // compiler
".*", // stdlib
".*", // platform
"real_concept", // test type(s)
"near.*", // test data group
- "boost::math::lgamma", 10000000, 10000000); // test function
+ "boost::math::lgamma", 40000000, 10000000); // test function
add_expected_result(
".*", // compiler
".*", // stdlib
<< BOOST_STDLIB << ", " << BOOST_PLATFORM << std::endl;
}
-int test_main(int, char* [])
+BOOST_AUTO_TEST_CASE( test_main )
{
expected_results();
BOOST_MATH_CONTROL_FP;
#ifndef BOOST_MATH_BUGGY_LARGE_FLOAT_CONSTANTS
- test_spots(0.0F);
+ test_spots(0.0F, "float");
#endif
- test_spots(0.0);
+ test_spots(0.0, "double");
#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
- test_spots(0.0L);
- test_spots(boost::math::concepts::real_concept(0.1));
+ test_spots(0.0L, "long double");
+ test_spots(boost::math::concepts::real_concept(0.1), "real_concept");
#endif
#ifndef BOOST_MATH_BUGGY_LARGE_FLOAT_CONSTANTS
"not available at all, or because they are too inaccurate for these tests "
"to pass.</note>" << std::cout;
#endif
- return 0;
+
}