From c21ae97f3569e026af17c453738ec5f348447dfd Mon Sep 17 00:00:00 2001 From: Ian Bell <ian.bell@nist.gov> Date: Thu, 23 Mar 2023 17:58:59 -0400 Subject: [PATCH] Allow for some slop in test --- src/tests/catch_test_SAFTVRMie.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/catch_test_SAFTVRMie.cxx b/src/tests/catch_test_SAFTVRMie.cxx index aa7d9ec..b3096ff 100644 --- a/src/tests/catch_test_SAFTVRMie.cxx +++ b/src/tests/catch_test_SAFTVRMie.cxx @@ -212,7 +212,7 @@ TEST_CASE("VLE pure tracing", "[SAFTVRMieVLE]"){ {"with_deriv", true} }; auto o = pure_trace_VLE(model, 300, spec); - CHECK(o[0] == o1[0]); + CHECK(o[0] == Approx(o1[0])); } TEST_CASE("VLE isotherm tracing", "[SAFTVRMieVLE]"){ -- GitLab