2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Duplicated test case causing CI failure.

This commit is contained in:
Matt Borland
2020-12-20 22:13:07 +03:00
parent 118863da21
commit a058883c71

View File

@@ -562,8 +562,7 @@ BOOST_AUTO_TEST_CASE( test_main )
// Check a few values using double.
BOOST_CHECK_EQUAL(pdf(mybeta11, 1), 0); // is uniform unity over (0, 1)
BOOST_CHECK_EQUAL(pdf(mybeta11, 0.5), 1); // https://www.wolframalpha.com/input/?i=beta+distribution+pdf+alpha+%3D+1%2C+beta+%3D+1
BOOST_CHECK_EQUAL(pdf(mybeta11, 0), 0);
BOOST_CHECK_EQUAL(pdf(mybeta11, 0), 0); // https://www.wolframalpha.com/input/?i=beta+distribution+pdf+alpha+%3D+1%2C+beta+%3D+1
// Although these next three have an exact result, internally they're
// *not* treated as special cases, and may be out by a couple of eps:
BOOST_CHECK_CLOSE_FRACTION(pdf(mybeta11, 0.5), 1.0, 5*std::numeric_limits<double>::epsilon());