dist_nc_beta_incl_test.cpp 1.1 KB

1234567891011121314151617181920212223242526272829
  1. // Copyright John Maddock 2008.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. //
  6. // Basic sanity check that header <boost/math/distributions/non_central_beta.hpp>
  7. // #includes all the files that it needs to.
  8. //
  9. // This must appear *before* any #includes, and precludes pch usage:
  10. //
  11. #define BOOST_MATH_ASSERT_UNDEFINED_POLICY false
  12. //
  13. #include <boost/math/distributions/non_central_beta.hpp>
  14. //
  15. // Note this header includes no other headers, this is
  16. // important if this test is to be meaningful:
  17. //
  18. #include "test_compile_result.hpp"
  19. void compile_and_link_test()
  20. {
  21. TEST_DIST_FUNC(non_central_beta)
  22. }
  23. template class boost::math::non_central_beta_distribution<float, boost::math::policies::policy<> >;
  24. template class boost::math::non_central_beta_distribution<double, boost::math::policies::policy<> >;
  25. #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
  26. template class boost::math::non_central_beta_distribution<long double, boost::math::policies::policy<> >;
  27. #endif