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

Coverage: Laguerre polynomials test case.

This commit is contained in:
jzmaddock
2025-04-28 16:28:56 +01:00
parent aaf7c2018c
commit bd8b61aa6b

View File

@@ -135,5 +135,8 @@ void test_spots(T, const char* t)
BOOST_CHECK_CLOSE_FRACTION(::boost::math::laguerre(10, 6, static_cast<T>(8.5L)), static_cast<T>(20.51596541066649098875661375661375661376L), tolerance);
BOOST_CHECK_CLOSE_FRACTION(::boost::math::laguerre(10, 12, static_cast<T>(12.5L)), static_cast<T>(-199.5560968456234671241181657848324514991L), tolerance);
BOOST_CHECK_CLOSE_FRACTION(::boost::math::laguerre(50, 40, static_cast<T>(12.5L)), static_cast<T>(-4.996769495006119488583146995907246595400e16L), tolerance);
BOOST_CHECK_EQUAL(::boost::math::laguerre(0, T(40)), T(1));
BOOST_CHECK_EQUAL(::boost::math::laguerre(0, T(400)), T(1));
}