IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 600f3c03 authored by ralfulrich's avatar ralfulrich Committed by Ralf Ulrich
Browse files

further relax QgsJetII unit test

parent 81082d9c
No related branches found
No related tags found
No related merge requests found
...@@ -181,7 +181,7 @@ TEST_CASE("QgsjetIIInterface", "interaction,processes") { ...@@ -181,7 +181,7 @@ TEST_CASE("QgsjetIIInterface", "interaction,processes") {
corsika::qgsjetII::Interaction model; corsika::qgsjetII::Interaction model;
model.doInteraction(view); // this also should produce some fragments model.doInteraction(view); // this also should produce some fragments
CHECK(view.getSize() == Approx(300).margin(100)); // this is not physics validation CHECK(view.getSize() == Approx(300).margin(150)); // this is not physics validation
int countFragments = 0; int countFragments = 0;
for (auto const& sec : view) { countFragments += (is_nucleus(sec.getPID())); } for (auto const& sec : view) { countFragments += (is_nucleus(sec.getPID())); }
CHECK(countFragments == Approx(4).margin(2)); // this is not physics validation CHECK(countFragments == Approx(4).margin(2)); // this is not physics validation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment