dist_hyperexponential_incl_test.cpp 1022 B

1234567891011121314151617181920212223242526
  1. // Copyright 2014 Marco Guazzone (marco.guazzone@gmail.com)
  2. //
  3. // Use, modification and distribution are subject to the
  4. // Boost Software License, Version 1.0. (See accompanying file
  5. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. // Basic sanity check that header <boost/math/distributions/hyperexponential.hpp>
  8. // #includes all the files that it needs to.
  9. //
  10. #include <boost/math/distributions/hyperexponential.hpp>
  11. //
  12. // Note this header includes no other headers, this is
  13. // important if this test is to be meaningful:
  14. //
  15. #include "test_compile_result.hpp"
  16. void compile_and_link_test()
  17. {
  18. TEST_DIST_FUNC(hyperexponential)
  19. }
  20. template class boost::math::hyperexponential_distribution<float, boost::math::policies::policy<> >;
  21. template class boost::math::hyperexponential_distribution<double, boost::math::policies::policy<> >;
  22. #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
  23. template class boost::math::hyperexponential_distribution<long double, boost::math::policies::policy<> >;
  24. #endif