IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 1f6e53e8 authored by Felix Riehn's avatar Felix Riehn
Browse files

replace REQUIRE with CHECK

parent b20b3efe
No related branches found
No related tags found
No related merge requests found
......@@ -83,9 +83,9 @@ TEST_CASE("OnShellCheck", "[processes]") {
auto const Plab = corsika::geometry::FourVector(p.GetEnergy(), p.GetMomentum());
auto const m_kinetic = Plab.GetNorm();
if (i == 0)
REQUIRE(m_kinetic / particles::PiPlus::GetMass() == Approx(1));
CHECK(m_kinetic / particles::PiPlus::GetMass() == Approx(1));
else if (i == 1)
REQUIRE_FALSE(m_kinetic / particles::PiMinus::GetMass() == Approx(1));
CHECK_FALSE(m_kinetic / particles::PiMinus::GetMass() == Approx(1));
}
}
}
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