From 1cb2dfc4acccdfa78d0a24ca4898bc281e7235f7 Mon Sep 17 00:00:00 2001 From: Luigi Ballabio Date: Tue, 5 Dec 2023 18:17:46 +0100 Subject: [PATCH] Remove spurious messages in test case --- test-suite/lowdiscrepancysequences.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test-suite/lowdiscrepancysequences.cpp b/test-suite/lowdiscrepancysequences.cpp index 7aa80404dbd..b9c4f681f60 100644 --- a/test-suite/lowdiscrepancysequences.cpp +++ b/test-suite/lowdiscrepancysequences.cpp @@ -1072,7 +1072,7 @@ BOOST_AUTO_TEST_CASE(testSobolSkipping) { } BOOST_AUTO_TEST_CASE(testHighDimensionalIntegrals, *precondition(if_speed(Slow))) { - BOOST_TEST_MESSAGE("Testing High Dimensional Integrals"); + BOOST_TEST_MESSAGE("Testing high-dimensional integrals..."); /* We are running "Integration test 1, results for high dimensions" (Figure 9) from: @@ -1094,8 +1094,6 @@ BOOST_AUTO_TEST_CASE(testHighDimensionalIntegrals, *precondition(if_speed(Slow)) Size N = 30031; - BOOST_TEST_MESSAGE("dimension,Sobol(Gray),Sobol(Seq),Burley2020"); - std::vector dimension = {1000, 2000, 5000}; std::vector> expectedOrderOfError = { {-3.0, -3.0, -4.5}, {-2.5, -2.5, -4.0}, {-2.0, -2.0, -4.0}}; @@ -1119,9 +1117,6 @@ BOOST_AUTO_TEST_CASE(testHighDimensionalIntegrals, *precondition(if_speed(Slow)) Real errOrder2 = std::log10(std::abs(I2 - 1.0)); Real errOrder3 = std::log10(std::abs(I3 - 1.0)); - BOOST_TEST_MESSAGE(dimension[d] << "," << errOrder1 << "," << errOrder2 << "," - << errOrder3); - BOOST_CHECK_MESSAGE(errOrder1 < expectedOrderOfError[d][0], "order of error for dimension " + std::to_string(dimension[d]) + " is" + std::to_string(errOrder1) + " expected " +