Skip to content

Commit

Permalink
Remove spurious messages in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Dec 5, 2023
1 parent 3d6cec9 commit 1cb2dfc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test-suite/lowdiscrepancysequences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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<Size> dimension = {1000, 2000, 5000};
std::vector<std::vector<Real>> expectedOrderOfError = {
{-3.0, -3.0, -4.5}, {-2.5, -2.5, -4.0}, {-2.0, -2.0, -4.0}};
Expand All @@ -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 " +
Expand Down

0 comments on commit 1cb2dfc

Please sign in to comment.