mirror of
https://github.com/boostorg/math.git
synced 2026-02-20 14:52:17 +00:00
@@ -460,6 +460,7 @@ void test_spots(RealType /*T*/, const char* type_name)
|
||||
test_spot(1, 13, 4, 26, static_cast<T>(0.248695652173913), static_cast<T>(0.296521739130435), static_cast<T>(1 - 0.296521739130435), tolerance);
|
||||
test_spot(2, 13, 4, 26, static_cast<T>(0.40695652173913), static_cast<T>(0.703478260869565), static_cast<T>(1 - 0.703478260869565), tolerance);
|
||||
test_spot(3, 13, 4, 26, static_cast<T>(0.248695652173913), static_cast<T>(0.952173913043478), static_cast<T>(1 - 0.952173913043478), tolerance);
|
||||
test_spot(40, 70, 89, 170, static_cast<T>(0.0721901023798991), static_cast<T>(0.885447799131944), static_cast<T>(1 - 0.885447799131944), tolerance);
|
||||
|
||||
boost::math::hypergeometric_distribution<RealType> d(50, 200, 500);
|
||||
BOOST_CHECK_EQUAL(range(d).first, 0u);
|
||||
|
||||
Reference in New Issue
Block a user