Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec authored Dec 20, 2024
1 parent 61a87f2 commit 9d64254
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/model/test/GroundHeatExchangerVertical_GTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ TEST_F(ModelFixture, GroundHeatExchangerVertical_GroundHeatExchangerVertical) {
EXPECT_EQ(0.0033, gh.designFlowRate().get());
ASSERT_TRUE(gh.numberofBoreHoles());
EXPECT_EQ(120, gh.numberofBoreHoles().get());
ASSERT_TRUE(gh.boreHoleTopDepth());
EXPECT_EQ(1.0, gh.boreHoleTopDepth().get());
EXPECT_EQ(1.0, gh.boreHoleTopDepth());
ASSERT_TRUE(gh.boreHoleLength());
EXPECT_EQ(76.2, gh.boreHoleLength().get());
ASSERT_TRUE(gh.boreHoleRadius());
Expand Down Expand Up @@ -81,8 +80,7 @@ TEST_F(ModelFixture, GroundHeatExchangerVertical_GroundHeatExchangerVertical) {
EXPECT_EQ(0.0033, gh.designFlowRate().get());
ASSERT_TRUE(gh.numberofBoreHoles());
EXPECT_EQ(120, gh.numberofBoreHoles().get());
ASSERT_TRUE(gh.boreHoleTopDepth());
EXPECT_EQ(1.0, gh.boreHoleTopDepth().get());
EXPECT_EQ(1.0, gh.boreHoleTopDepth());
ASSERT_TRUE(gh.boreHoleLength());
EXPECT_EQ(76.2, gh.boreHoleLength().get());
ASSERT_TRUE(gh.boreHoleRadius());
Expand Down Expand Up @@ -142,8 +140,7 @@ TEST_F(ModelFixture, GroundHeatExchangerVertical_SetGetFields) {
EXPECT_EQ(0.004, gh.designFlowRate().get());
ASSERT_TRUE(gh.numberofBoreHoles());
EXPECT_EQ(100, gh.numberofBoreHoles().get());
ASSERT_TRUE(gh.boreHoleTopDepth());
EXPECT_EQ(1.25, gh.boreHoleTopDepth().get());
EXPECT_EQ(1.25, gh.boreHoleTopDepth());
ASSERT_TRUE(gh.boreHoleLength());
EXPECT_EQ(80.0, gh.boreHoleLength().get());
ASSERT_TRUE(gh.boreHoleRadius());
Expand Down Expand Up @@ -181,8 +178,7 @@ TEST_F(ModelFixture, GroundHeatExchangerVertical_SetGetFields) {
EXPECT_EQ(0.004, gh.designFlowRate().get());
ASSERT_TRUE(gh.numberofBoreHoles());
EXPECT_EQ(100, gh.numberofBoreHoles().get());
ASSERT_TRUE(gh.boreHoleTopDepth());
EXPECT_EQ(1.25, gh.boreHoleTopDepth().get());
EXPECT_EQ(1.25, gh.boreHoleTopDepth());
ASSERT_TRUE(gh.boreHoleLength());
EXPECT_EQ(80.0, gh.boreHoleLength().get());
ASSERT_TRUE(gh.boreHoleRadius());
Expand Down

0 comments on commit 9d64254

Please sign in to comment.