From 27b0548cd6f0a511d6745331d92c1954be816a60 Mon Sep 17 00:00:00 2001 From: Felix Riehn <felix@matilda> Date: Tue, 5 Apr 2022 19:22:26 +0100 Subject: [PATCH] extend proposal test --- tests/modules/testProposal.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/modules/testProposal.cpp b/tests/modules/testProposal.cpp index 07d579699..456de4cfe 100644 --- a/tests/modules/testProposal.cpp +++ b/tests/modules/testProposal.cpp @@ -53,9 +53,11 @@ TEST_CASE("ProposalInterface", "modules") { } SECTION("InteractionInterface - hadronic photon interaction") { - // auto& stack = *stackPtr; + auto& stack = *stackPtr; // auto particle = stack.first(); FourMomentum P4(100_TeV, {cs, {100_TeV, 0_eV, 0_eV}}); + // finish successfully CHECK(emModel.doHadronicInteraction(view, cs, P4, Code::Oxygen) == ProcessReturn::Ok); + CHECK(stack.getEntries() > 1); } } \ No newline at end of file -- GitLab