From 4051f4b9abfe4bd87e0cc14f1404c0bf0be46f28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Viana?= <57032457+vollous@users.noreply.github.com> Date: Thu, 25 Apr 2024 18:23:14 +0100 Subject: [PATCH] Update "example_point_SM" in tests --- tests/unittests/Test-gw.cpp | 10 ++++++---- tests/unittests/Test-sm.cpp | 14 ++------------ 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/tests/unittests/Test-gw.cpp b/tests/unittests/Test-gw.cpp index f1463e83..5288b3c5 100644 --- a/tests/unittests/Test-gw.cpp +++ b/tests/unittests/Test-gw.cpp @@ -422,8 +422,9 @@ TEST_CASE("Checking phase tracking for BP3 with Mode 0", "[gw]") TEST_CASE("Checking phase tracking for SM with Mode 1", "[gw]") { - const std::vector example_point_SM{/* v = */ 245.34120667410863, - /* vs = */ 0}; + const std::vector example_point_SM{ + /* muSq = */ -7823.7540500000005, + /* lambda = */ 0.12905349405143487}; using namespace BSMPT; const auto SMConstants = GetSMConstants(); @@ -440,8 +441,9 @@ TEST_CASE("Checking phase tracking for SM with Mode 1", "[gw]") TEST_CASE("Checking phase tracking for SM with Mode 2", "[gw]") { - const std::vector example_point_SM{/* v = */ 245.34120667410863, - /* vs = */ 0}; + const std::vector example_point_SM{ + /* muSq = */ -7823.7540500000005, + /* lambda = */ 0.12905349405143487}; using namespace BSMPT; const auto SMConstants = GetSMConstants(); diff --git a/tests/unittests/Test-sm.cpp b/tests/unittests/Test-sm.cpp index 77aea75f..bb7fc80e 100644 --- a/tests/unittests/Test-sm.cpp +++ b/tests/unittests/Test-sm.cpp @@ -17,18 +17,8 @@ using Approx = Catch::Approx; #include "SM.h" #include -const std::vector example_point_SM{/* vh = */ 246.219651, - /* vs = */ 540.51152, - /* va = */ 0, - /* ms = */ -10201.707997, - /* lambda = */ 0.516782, - /* delta2 = */ -0.037398, - /* b2 = */ -370585.40704, - /* d2 = */ 2.570175, - /* Reb1 = */ -3722.817741, - /* Imb1 = */ 0, - /* Rea1 = */ 0, - /* Ima1 = */ 0}; +const std::vector example_point_SM{/* muSq = */ -7823.7540500000005, + /* lambda = */ 0.12905349405143487}; const Compare_SM Expected;