Skip to content

Commit d7e4539

Browse files
committed
Space IV.5 - Attempt to debug linux unit test failure
1 parent d285a49 commit d7e4539

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tst/EnergyPlus/unit/SizingManager.unit.cc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4223,6 +4223,17 @@ TEST_F(EnergyPlusFixture, SizingManager_ZoneSizing_Coincident_NonAir_10x_Latent_
42234223
ASSERT_TRUE(process_idf(idf_objects));
42244224
SimulationManager::ManageSimulation(*state);
42254225

4226+
int space1Num = 1;
4227+
int curSimDay = 1;
4228+
auto &calSpSiz = state->dataSize->CalcSpaceSizing(curSimDay, space1Num);
4229+
4230+
EXPECT_NEAR(calSpSiz.LatentCoolLoadSeq(57), 7500.00, 0.01);
4231+
EXPECT_NEAR(calSpSiz.LatentCoolLoadSeq(58), 8333.33, 0.01);
4232+
EXPECT_NEAR(calSpSiz.LatentCoolLoadSeq(59), 9166.66, 0.01);
4233+
EXPECT_NEAR(calSpSiz.LatentCoolLoadSeq(60), 10000.00, 0.01);
4234+
EXPECT_NEAR(calSpSiz.LatentCoolLoadSeq(61), 10000.00, 0.01);
4235+
EXPECT_TRUE(calSpSiz.LatentCoolLoadSeq(60) > calSpSiz.LatentCoolLoadSeq(59));
4236+
EXPECT_TRUE(calSpSiz.LatentCoolLoadSeq(61) == calSpSiz.LatentCoolLoadSeq(60));
42264237
EXPECT_EQ("18989.14", OutputReportPredefined::RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchSpHtCalcDesLd, "SPACE 1"));
42274238
EXPECT_EQ("0.527", OutputReportPredefined::RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchSpHtCalcDesAirFlow, "SPACE 1"));
42284239
EXPECT_EQ("0.527", OutputReportPredefined::RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchSpHtUserDesAirFlow, "SPACE 1"));

0 commit comments

Comments
 (0)