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

Heumann Lambda coverage.

This commit is contained in:
jzmaddock
2024-07-05 10:26:55 +01:00
parent fc0b406af4
commit 6440f731b1

View File

@@ -71,5 +71,12 @@ void test_spots(T, const char* type_name)
#include "heuman_lambda_data.ipp"
do_test_heuman_lambda<T>(heuman_lambda_data, type_name, "Elliptic Integral Heuman Lambda: Random Data");
//
// Special cases for coverage:
//
BOOST_CHECK_THROW(boost::math::heuman_lambda(T(1.1), T(0.5)), std::domain_error);
BOOST_CHECK_THROW(boost::math::heuman_lambda(static_cast<T>(1e-100), T(2.5)), std::domain_error);
}