From c31074b7ada454a3b5b21c918b11675903c8be2e Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Sun, 6 Jun 2021 12:32:17 +0200 Subject: [PATCH] unit test ref. values --- tests/modules/testQGSJetII.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/modules/testQGSJetII.cpp b/tests/modules/testQGSJetII.cpp index 2ccf4752e..bbc533d58 100644 --- a/tests/modules/testQGSJetII.cpp +++ b/tests/modules/testQGSJetII.cpp @@ -231,7 +231,7 @@ TEST_CASE("QgsjetIIInterface", "[processes]") { [[maybe_unused]] auto particle = stackPtr->first(); corsika::qgsjetII::Interaction model; model.doInteraction(view); - CHECK(view.getSize() == Approx(10).margin(2)); // this is not physics validation + CHECK(view.getSize() == Approx(4).margin(2)); // this is not physics validation } { // rho0 is internally converted into pi-/pi+ auto [stackPtr, secViewPtr] = setup::testing::setup_stack( @@ -241,7 +241,7 @@ TEST_CASE("QgsjetIIInterface", "[processes]") { [[maybe_unused]] auto particle = stackPtr->first(); corsika::qgsjetII::Interaction model; model.doInteraction(view); - CHECK(view.getSize() == Approx(29).margin(8)); // this is not physics validation + CHECK(view.getSize() == Approx(10).margin(8)); // this is not physics validation } { // Lambda is internally converted into neutron auto [stackPtr, secViewPtr] = setup::testing::setup_stack( @@ -251,7 +251,7 @@ TEST_CASE("QgsjetIIInterface", "[processes]") { [[maybe_unused]] auto particle = stackPtr->first(); corsika::qgsjetII::Interaction model; model.doInteraction(view); - CHECK(view.getSize() == Approx(29).margin(10)); // this is not physics validation + CHECK(view.getSize() == Approx(11).margin(10)); // this is not physics validation } { // AntiLambda is internally converted into anti neutron auto [stackPtr, secViewPtr] = setup::testing::setup_stack( @@ -261,7 +261,7 @@ TEST_CASE("QgsjetIIInterface", "[processes]") { [[maybe_unused]] auto particle = stackPtr->first(); corsika::qgsjetII::Interaction model; model.doInteraction(view); - CHECK(view.getSize() == Approx(3).margin(20)); // this is not physics validation + CHECK(view.getSize() == Approx(70).margin(20)); // this is not physics validation } } } -- GitLab