// Copyright John Maddock 2006. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Basic sanity check that header // #includes all the files that it needs to. // #include // // Note this header includes no other headers, this is // important if this test is to be meaningful: // #include "test_compile_result.hpp" void compile_and_link_test() { check_result(boost::math::tgamma(f)); check_result(boost::math::tgamma(d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::tgamma(l)); #endif check_result(boost::math::lgamma(f)); check_result(boost::math::lgamma(d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::lgamma(l)); #endif check_result(boost::math::gamma_p(f, f)); check_result(boost::math::gamma_p(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::gamma_p(l, l)); #endif check_result(boost::math::gamma_q(f, f)); check_result(boost::math::gamma_q(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::gamma_q(l, l)); #endif check_result(boost::math::gamma_p_inv(f, f)); check_result(boost::math::gamma_p_inv(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::gamma_p_inv(l, l)); #endif check_result(boost::math::gamma_q_inv(f, f)); check_result(boost::math::gamma_q_inv(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::gamma_q_inv(l, l)); #endif check_result(boost::math::gamma_p_inva(f, f)); check_result(boost::math::gamma_p_inva(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::gamma_p_inva(l, l)); #endif check_result(boost::math::gamma_q_inva(f, f)); check_result(boost::math::gamma_q_inva(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::gamma_q_inva(l, l)); #endif check_result(boost::math::gamma_p_derivative(f, f)); check_result(boost::math::gamma_p_derivative(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::gamma_p_derivative(l, l)); #endif check_result(boost::math::tgamma_ratio(f, f)); check_result(boost::math::tgamma_ratio(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::tgamma_ratio(l, l)); #endif check_result(boost::math::tgamma_delta_ratio(f, f)); check_result(boost::math::tgamma_delta_ratio(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::tgamma_delta_ratio(l, l)); #endif }