int test_main(int, char* []) { #ifdef TEST_GSL gsl_set_error_handler_off(); #endif expected_results(); BOOST_MATH_CONTROL_FP; #ifndef BOOST_MATH_BUGGY_LARGE_FLOAT_CONSTANTS test_bessel(0.1F, "float"); #endif test_bessel(0.1, "double"); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS test_bessel(0.1L, "long double"); #ifndef BOOST_MATH_NO_REAL_CONCEPT_TESTS test_bessel(boost::math::concepts::real_concept(0.1), "real_concept"); #endif #else std::cout << "<note>The long double tests have been disabled on this platform " "either because the long double overloads of the usual math functions are " "not available at all, or because they are too inaccurate for these tests " "to pass.</note>" << std::cout; #endif return 0; }
void test(T t, const char* p) { test_bessel(t, p); }