// Copyright John Maddock 2012. // 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::jacobi_elliptic(f, f, static_cast(0), static_cast(0))); check_result(boost::math::jacobi_elliptic(d, d, static_cast(0), static_cast(0))); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_elliptic(l, l, static_cast(0), static_cast(0))); #endif check_result(boost::math::jacobi_sn(f, f)); check_result(boost::math::jacobi_sn(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_sn(l, l)); #endif check_result(boost::math::jacobi_cn(f, f)); check_result(boost::math::jacobi_cn(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_cn(l, l)); #endif check_result(boost::math::jacobi_dn(f, f)); check_result(boost::math::jacobi_dn(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_dn(l, l)); #endif check_result(boost::math::jacobi_cd(f, f)); check_result(boost::math::jacobi_cd(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_cd(l, l)); #endif check_result(boost::math::jacobi_dc(f, f)); check_result(boost::math::jacobi_dc(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_dc(l, l)); #endif check_result(boost::math::jacobi_ns(f, f)); check_result(boost::math::jacobi_ns(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_ns(l, l)); #endif check_result(boost::math::jacobi_sd(f, f)); check_result(boost::math::jacobi_sd(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_sd(l, l)); #endif check_result(boost::math::jacobi_ds(f, f)); check_result(boost::math::jacobi_ds(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_ds(l, l)); #endif check_result(boost::math::jacobi_nc(f, f)); check_result(boost::math::jacobi_nc(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_nc(l, l)); #endif check_result(boost::math::jacobi_nd(f, f)); check_result(boost::math::jacobi_nd(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_nd(l, l)); #endif check_result(boost::math::jacobi_sc(f, f)); check_result(boost::math::jacobi_sc(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_sc(l, l)); #endif check_result(boost::math::jacobi_cs(f, f)); check_result(boost::math::jacobi_cs(d, d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::jacobi_cs(l, l)); #endif }