From e998b8139e9080087a37215a29aff5136903cf6b Mon Sep 17 00:00:00 2001 From: tevans Date: Tue, 10 Dec 2024 13:12:55 +0100 Subject: [PATCH] add tolerance to test --- test/test_CoherentSum.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_CoherentSum.cpp b/test/test_CoherentSum.cpp index 6e3a586230..97e32ae11a 100644 --- a/test/test_CoherentSum.cpp +++ b/test/test_CoherentSum.cpp @@ -35,6 +35,6 @@ BOOST_AUTO_TEST_CASE ( test_constructor ) for( auto& event : events ) { - BOOST_CHECK( eval(event) == test.getValNoCache(event) ); + BOOST_TEST( eval(event) == test.getValNoCache(event), boost::test_tools::tolerance(1e-17) ); } }