8177da58be
Update tests accordingly, and suppress some compiler warnings. [SVN r66986]
30 lines
1.1 KiB
C++
30 lines
1.1 KiB
C++
// Copyright John Maddock 2008.
|
|
// 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 <boost/math/distributions/non_central_beta.hpp>
|
|
// #includes all the files that it needs to.
|
|
//
|
|
// This must appear *before* any #includes, and precludes pch usage:
|
|
//
|
|
#define BOOST_MATH_ASSERT_UNDEFINED_POLICY false
|
|
//
|
|
#include <boost/math/distributions/non_central_beta.hpp>
|
|
//
|
|
// 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()
|
|
{
|
|
TEST_DIST_FUNC(non_central_beta)
|
|
}
|
|
|
|
template class boost::math::non_central_beta_distribution<float, boost::math::policies::policy<> >;
|
|
template class boost::math::non_central_beta_distribution<double, boost::math::policies::policy<> >;
|
|
#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
|
|
template class boost::math::non_central_beta_distribution<long double, boost::math::policies::policy<> >;
|
|
#endif
|