IAP GITLAB

Skip to content
Snippets Groups Projects
Commit ef09516c authored by Felix Riehn's avatar Felix Riehn Committed by Alan Coleman
Browse files

added test for canInteract in fluka

parent 1b223a9a
No related branches found
No related tags found
1 merge request!550Resolve "switch off all decays in Epos"
......@@ -44,6 +44,12 @@ TEST_CASE("FLUKACodeConversion") {
REQUIRE(corsika::fluka::convertToFlukaRaw(Code::Lambda0) == 17);
REQUIRE_THROWS(corsika::fluka::convertToFluka(Code::WPlus));
SECTION("canInteractInFluka") {
CHECK(corsika::fluka::canInteract(Code::Proton));
CHECK_FALSE(corsika::fluka::canInteract(Code::Rho0));
CHECK_FALSE(corsika::fluka::canInteract(Code::N1520_0));
}
}
auto setupEnvironment() {
......
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