Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 1 addition & 42 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -657,48 +657,7 @@ test-suite distribution_tests :
[ run test_gamma_dist.cpp pch /boost/test//boost_unit_test_framework ]
[ run test_geometric.cpp /boost/test//boost_unit_test_framework ]
[ run test_hyperexponential_dist.cpp /boost/test//boost_unit_test_framework ]
[ run test_hypergeometric_dist.cpp /boost/test//boost_unit_test_framework
: # command line
: # input files
: # requirements
<define>TEST_QUANT=0
<toolset>intel:<pch>off
: test_hypergeometric_dist0 ]
[ run test_hypergeometric_dist.cpp /boost/test//boost_unit_test_framework
: # command line
: # input files
: # requirements
<define>TEST_QUANT=1
<toolset>intel:<pch>off
: test_hypergeometric_dist1 ]
[ run test_hypergeometric_dist.cpp /boost/test//boost_unit_test_framework
: # command line
: # input files
: # requirements
<define>TEST_QUANT=2
<toolset>intel:<pch>off
: test_hypergeometric_dist2 ]
[ run test_hypergeometric_dist.cpp /boost/test//boost_unit_test_framework
: # command line
: # input files
: # requirements
<define>TEST_QUANT=3
<toolset>intel:<pch>off
: test_hypergeometric_dist3 ]
[ run test_hypergeometric_dist.cpp /boost/test//boost_unit_test_framework
: # command line
: # input files
: # requirements
<define>TEST_QUANT=4
<toolset>intel:<pch>off
: test_hypergeometric_dist4 ]
[ run test_hypergeometric_dist.cpp /boost/test//boost_unit_test_framework
: # command line
: # input files
: # requirements
<define>TEST_QUANT=5
<toolset>intel:<pch>off
: test_hypergeometric_dist5 ]
[ run test_hypergeometric_dist.cpp ]
[ run test_inverse_chi_squared_distribution.cpp /boost/test//boost_unit_test_framework ]
[ run test_inverse_gamma_distribution.cpp /boost/test//boost_unit_test_framework ]
[ run test_inverse_gaussian.cpp /boost/test//boost_unit_test_framework ]
Expand Down
2 changes: 1 addition & 1 deletion test/hypergeometric_dist_data2.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#endif

#define SC_(x) static_cast<typename table_type<T>::type>(BOOST_JOIN(x, L))
static const std::array<std::array<T, 7>, 1542-5> hypergeometric_dist_data2 = {{
static const std::array<std::array<typename table_type<T>::type, 7>, 1542-5> hypergeometric_dist_data2 = {{
{{ SC_(3.0), SC_(3.0), SC_(4.0), SC_(3.0), SC_(0.25), SC_(1.0), SC_(0.0) }},
{{ SC_(3.0), SC_(3.0), SC_(15.0), SC_(1.0), SC_(0.4351648351648351648351648351648351648351648351648351648351648351648351648351648351648351648351648352), SC_(0.9186813186813186813186813186813186813186813186813186813186813186813186813186813186813186813186813187), SC_(0.08131868131868131868131868131868131868131868131868131868131868131868131868131868131868131868131868132) }},
{{ SC_(3.0), SC_(3.0), SC_(29.0), SC_(1.0), SC_(0.2668308702791461412151067323481116584564860426929392446633825944170771756978653530377668308702791461), SC_(0.9783798576902025177887246852764094143404488232074438970990695128626163108921729611384783798576902025), SC_(0.02162014230979748221127531472359058565955117679255610290093048713738368910782703886152162014230979748) }},
Expand Down
2 changes: 1 addition & 1 deletion test/hypergeometric_test_data.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// absolute error, not a low relative error.
//
#define SC_(x) static_cast<typename table_type<T>::type>(BOOST_JOIN(x, L))
static const std::array<std::array<T, 8>, 398-108> hypergeometric_test_data = {{
static const std::array<std::array<typename table_type<T>::type, 8>, 398-108> hypergeometric_test_data = {{
//{{SC_(1.0),SC_(1.0),SC_(2.0),SC_(1.0),SC_(0.5),SC_(1.0),SC_(0.e-40)}},
{{SC_(5.0),SC_(4.0),SC_(6.0),SC_(3.0),SC_(0.6666666666666666666666666666666666666667),SC_(0.6666666666666666666666666666666666666667),SC_(0.3333333333333333333333333333333333333333)}},
//{{SC_(5.0),SC_(3.0),SC_(13.0),SC_(3.0),SC_(0.03496503496503496503496503496503496503497),SC_(1.0),SC_(0.e-40)}},
Expand Down
Loading
Loading