From c7a4069b7936fb6d211b0f6d3c667428be7336ff Mon Sep 17 00:00:00 2001 From: Lew Rossman Date: Thu, 17 Aug 2023 15:12:31 -0400 Subject: [PATCH] Update test_valve.cpp --- tests/test_valve.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_valve.cpp b/tests/test_valve.cpp index 4e14221..8a0568e 100644 --- a/tests/test_valve.cpp +++ b/tests/test_valve.cpp @@ -64,10 +64,10 @@ BOOST_FIXTURE_TEST_CASE(test_PCV_valve, FixtureOpenClose) // The PCV interpolated relative flow coeff. at 35% open is 0.127. // This translates to a minor loss coeff. of 0.19 / 0.127^2 = 11.78. // If the PCV were replaced with a TCV at that setting the resulting - // head loss would be 0.0255 ft which should equal the PCV result. + // head loss would be 0.02545 ft which should equal the PCV result. error = EN_getlinkvalue(ph, linkIndex, EN_HEADLOSS, &v); BOOST_REQUIRE(error == 0); - BOOST_REQUIRE(abs(v - 0.0255) < 0.001); + BOOST_REQUIRE(abs(v - 0.02545) < 0.001); } BOOST_AUTO_TEST_SUITE_END()