From bd8b61aa6bc6853dbf95a1955d6dc27c2ec5b7e0 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 28 Apr 2025 16:28:56 +0100 Subject: [PATCH] Coverage: Laguerre polynomials test case. --- test/test_laguerre.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_laguerre.hpp b/test/test_laguerre.hpp index a0542d121..8f49b681c 100644 --- a/test/test_laguerre.hpp +++ b/test/test_laguerre.hpp @@ -135,5 +135,8 @@ void test_spots(T, const char* t) BOOST_CHECK_CLOSE_FRACTION(::boost::math::laguerre(10, 6, static_cast(8.5L)), static_cast(20.51596541066649098875661375661375661376L), tolerance); BOOST_CHECK_CLOSE_FRACTION(::boost::math::laguerre(10, 12, static_cast(12.5L)), static_cast(-199.5560968456234671241181657848324514991L), tolerance); BOOST_CHECK_CLOSE_FRACTION(::boost::math::laguerre(50, 40, static_cast(12.5L)), static_cast(-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)); }