From 52bdc86ee75a447c9c569657db456463054488fc Mon Sep 17 00:00:00 2001 From: Phil Ahrenkiel Date: Tue, 29 Oct 2024 17:13:58 -0600 Subject: [PATCH] Remove no_throw test. --- test/unit_tests/sizingFractionsTest.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/unit_tests/sizingFractionsTest.cpp b/test/unit_tests/sizingFractionsTest.cpp index fe6f1b22..0c1ed691 100644 --- a/test/unit_tests/sizingFractionsTest.cpp +++ b/test/unit_tests/sizingFractionsTest.cpp @@ -22,7 +22,7 @@ TEST(SizingFractionsTest, TamScalable_SP_SizingFract) double aquaFrac, useableFrac; const double aquaFrac_answer = 4. / logicSize; - EXPECT_NO_THROW(hpwh.getSizingFractions(aquaFrac, useableFrac)); + hpwh.getSizingFractions(aquaFrac, useableFrac); EXPECT_NEAR(aquaFrac, aquaFrac_answer, tol); EXPECT_NEAR(useableFrac, 1. - 1. / logicSize, tol); } @@ -40,7 +40,7 @@ TEST(SizingFractionsTest, Sanden80_SizingFract) double aquaFrac, useableFrac; const double aquaFrac_answer = 8. / logicSize; - EXPECT_NO_THROW(hpwh.getSizingFractions(aquaFrac, useableFrac)); + hpwh.getSizingFractions(aquaFrac, useableFrac); EXPECT_NEAR(aquaFrac, aquaFrac_answer, tol); EXPECT_NEAR(useableFrac, 1. - 1. / logicSize, tol); } @@ -58,7 +58,7 @@ TEST(SizingFractionsTest, ColmacCxV_5_SP_SizingFract) double aquaFrac, useableFrac; const double aquaFrac_answer = 4. / logicSize; - EXPECT_NO_THROW(hpwh.getSizingFractions(aquaFrac, useableFrac)); + hpwh.getSizingFractions(aquaFrac, useableFrac); EXPECT_NEAR(aquaFrac, aquaFrac_answer, tol); EXPECT_NEAR(useableFrac, 1. - 1. / logicSize, tol); } @@ -76,7 +76,7 @@ TEST(SizingFractionsTest, AOSmithHPTU50_SizingFract) double aquaFrac, useableFrac; const double aquaFrac_answer = (1. + 2. + 3. + 4.) / 4. / logicSize; - EXPECT_NO_THROW(hpwh.getSizingFractions(aquaFrac, useableFrac)); + hpwh.getSizingFractions(aquaFrac, useableFrac); EXPECT_NEAR(aquaFrac, aquaFrac_answer, tol); EXPECT_NEAR(useableFrac, 1., tol); } @@ -94,7 +94,7 @@ TEST(SizingFractionsTest, GE_SizingFract) double aquaFrac, useableFrac; const double aquaFrac_answer = (1. + 2. + 3. + 4.) / 4. / logicSize; - EXPECT_NO_THROW(hpwh.getSizingFractions(aquaFrac, useableFrac)); + hpwh.getSizingFractions(aquaFrac, useableFrac); EXPECT_NEAR(aquaFrac, aquaFrac_answer, tol); EXPECT_NEAR(useableFrac, 1., tol); } @@ -112,7 +112,7 @@ TEST(SizingFractionsTest, Stiebel220e_SizingFract) double aquaFrac, useableFrac; const double aquaFrac_answer = (5. + 6.) / 2. / logicSize; - EXPECT_NO_THROW(hpwh.getSizingFractions(aquaFrac, useableFrac)); + hpwh.getSizingFractions(aquaFrac, useableFrac); EXPECT_NEAR(aquaFrac, aquaFrac_answer, tol); EXPECT_NEAR(useableFrac, 1. - 1. / logicSize, tol); }