From 4db247b09a19f2e7d2c0b5169070258d328d1b0c Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 28 Jun 2021 19:39:21 +0100 Subject: [PATCH] Fix up static_asserts in test case. --- test/test_fibonacci.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_fibonacci.cpp b/test/test_fibonacci.cpp index fb030c209c..1a5120b240 100644 --- a/test/test_fibonacci.cpp +++ b/test/test_fibonacci.cpp @@ -98,16 +98,16 @@ BOOST_AUTO_TEST_CASE(generator_check) { BOOST_AUTO_TEST_CASE(constexpr_check) { constexpr int x = boost::math::unchecked_fibonacci(32); - static_assert(x == 2178309); + static_assert(x == 2178309, "constexpr check 1"); constexpr double y = boost::math::unchecked_fibonacci(40); - static_assert(y == 102334155.0); + static_assert(y == 102334155.0, "constexpr check 2"); constexpr int xx = boost::math::fibonacci(32); - static_assert(xx == 2178309); + static_assert(xx == 2178309, "constexpr check 3"); constexpr double yy = boost::math::fibonacci(40); - static_assert(yy == 102334155.0); + static_assert(yy == 102334155.0, "constexpr check 4"); }