Skip to content

Commit

Permalink
Update "example_point_SM" in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vollous committed Apr 25, 2024
1 parent 20b945f commit 4051f4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
10 changes: 6 additions & 4 deletions tests/unittests/Test-gw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]")

Check notice

Code scanning / CodeQL

Unused static function Note test

Static function CATCH2_INTERNAL_TEST_26 is unreachable (
autoRegistrar27
must be removed at the same time)
{
const std::vector<double> example_point_SM{/* v = */ 245.34120667410863,
/* vs = */ 0};
const std::vector<double> example_point_SM{
/* muSq = */ -7823.7540500000005,
/* lambda = */ 0.12905349405143487};

using namespace BSMPT;
const auto SMConstants = GetSMConstants();
Expand All @@ -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]")

Check notice

Code scanning / CodeQL

Unused static function Note test

Static function CATCH2_INTERNAL_TEST_28 is unreachable (
autoRegistrar29
must be removed at the same time)
{
const std::vector<double> example_point_SM{/* v = */ 245.34120667410863,
/* vs = */ 0};
const std::vector<double> example_point_SM{
/* muSq = */ -7823.7540500000005,
/* lambda = */ 0.12905349405143487};

using namespace BSMPT;
const auto SMConstants = GetSMConstants();
Expand Down
14 changes: 2 additions & 12 deletions tests/unittests/Test-sm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,8 @@ using Approx = Catch::Approx;
#include "SM.h"
#include <fstream>

const std::vector<double> 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<double> example_point_SM{/* muSq = */ -7823.7540500000005,
/* lambda = */ 0.12905349405143487};

const Compare_SM Expected;

Expand Down

0 comments on commit 4051f4b

Please sign in to comment.