From 1f6e53e85c069bbda492e27f74c8cfecfd97ca22 Mon Sep 17 00:00:00 2001 From: Felix Riehn <felix@matilda> Date: Thu, 16 Jul 2020 12:15:42 +0100 Subject: [PATCH] replace REQUIRE with CHECK --- Processes/OnShellCheck/testOnShellCheck.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Processes/OnShellCheck/testOnShellCheck.cc b/Processes/OnShellCheck/testOnShellCheck.cc index f67272bd2..ca2c56455 100644 --- a/Processes/OnShellCheck/testOnShellCheck.cc +++ b/Processes/OnShellCheck/testOnShellCheck.cc @@ -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)); } } } -- GitLab