diff --git a/tests/modules/testSibyll.cpp b/tests/modules/testSibyll.cpp index dffba30ca1c2d4491ab9f0d91a402c03de2caddb..36f188e9a227d6c66be1c1e475b631ff772e0a40 100644 --- a/tests/modules/testSibyll.cpp +++ b/tests/modules/testSibyll.cpp @@ -106,7 +106,7 @@ auto sumMomentum(TStackView const& view, CoordinateSystemPtr const& vCS) { TEST_CASE("SibyllInterface", "modules") { - logging::set_level(logging::level::trace); + logging::set_level(logging::level::info); // the environment and stack should eventually disappear from here auto [env, csPtr, nodePtr] = setup::testing::setup_environment(Code::Oxygen); @@ -266,8 +266,8 @@ TEST_CASE("SibyllInterface", "modules") { MomentumVector(cs, {0_eV, 0_eV, 0_eV})); model.doInteraction(view, pid, Code::Oxygen, P4, targetP4); CrossSectionType const cx = model.getCrossSection(pid, Code::Oxygen, P4, targetP4); - CHECK(cx / 1_mb == Approx(1250).margin(100)); // this is not physics validation - CHECK(view.getSize() == Approx(150).margin(140)); // this is not physics validation + CHECK(cx / 1_mb > 0); // this is not physics validation + CHECK(view.getSize() != 0); // this is not physics validation // invalid to underlying model FourMomentum P4mu( @@ -321,8 +321,8 @@ TEST_CASE("SibyllDecayInterface", "modules") { CHECK(time == get_lifetime(Code::Lambda0) * gamma); model.doDecay(view); // run checks - // lambda decays into proton and pi- or neutron and pi+ - CHECK(stack.getEntries() == 3); + // not physics validation, just check doDecay finished with something + CHECK(stack.getEntries() > 1); } SECTION("DecayInterface - decay not handled") {