From 0084c806afd3edfb03e27cc8476007da388b62d8 Mon Sep 17 00:00:00 2001 From: Jonah Miller Date: Wed, 4 Dec 2024 16:47:02 -0700 Subject: [PATCH] Atomic mass and number --- test/test_eos_tabulated.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_eos_tabulated.cpp b/test/test_eos_tabulated.cpp index ee01f2f04a..6a31ed9451 100644 --- a/test/test_eos_tabulated.cpp +++ b/test/test_eos_tabulated.cpp @@ -239,8 +239,8 @@ SCENARIO("SpinerEOS depends on rho and sie", "[SpinerEOS][DependsRhoSie]") { REQUIRE(steelEOS_host.matid() == steelID); AND_THEN("We get the correct mean atomic mass and number") { - REQUIRE(steelEOS_host.MeanAtomicMass() == eospac.MeanAtomicMass()); - REQUIRE(steelEOS_host.MeanAtomicNumber() == eospac.MeanAtomicNumber()); + REQUIRE(isClose(steelEOS_host.MeanAtomicMass(), 55.37)); + REQUIRE(isClose(steelEOS_host.MeanAtomicNumber(), 25.80)); } int nw_ie2{0}, nw_te2{0};