Home
last modified time | relevance | path

Searched refs:my8dist (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/math/test/
Dtest_binomial.cpp608 …binomial_distribution<RealType> my8dist(8., 0.25); // Note: double values (matching the distributi… in test_spots() local
612 BOOST_CHECK_CLOSE(my8dist.trials(), static_cast<RealType>(8), tol2); in test_spots()
613 BOOST_CHECK_CLOSE(my8dist.success_fraction(), static_cast<RealType>(0.25), tol2); in test_spots()
Dtest_negative_binomial.cpp813 negative_binomial_distribution<double> my8dist(8., 0.25); in BOOST_AUTO_TEST_CASE() local
818 BOOST_CHECK_EQUAL(my8dist.successes(), static_cast<double>(8)); in BOOST_AUTO_TEST_CASE()
819 BOOST_CHECK_EQUAL(my8dist.success_fraction(), static_cast<double>(1./4.)); in BOOST_AUTO_TEST_CASE()