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:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user