Skip to content

Commit

Permalink
Add test of correct and error print burning in tests/00-lfmcmc.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
apulsipher committed Nov 25, 2024
1 parent af9056e commit 0f853d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/00-lfmcmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ EPIWORLD_TEST_CASE("LFMCMC", "[Basic example]") {
std::vector<epiworld_double> expected = {5.0, 1.5};
REQUIRE_THAT(params_means, Catch::Approx(expected).margin(0.5));
REQUIRE_THAT(stats_means, Catch::Approx(expected).margin(0.5));
REQUIRE_THROWS(model.print(200000));
REQUIRE_NOTHROW(model.print(50000));
#endif

#ifndef CATCH_CONFIG_MAIN
Expand Down

0 comments on commit 0f853d9

Please sign in to comment.