Skip to content

Commit

Permalink
Change unit test values due to water exclusion in the other category.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcyuan2020 committed Jun 4, 2021
1 parent 5500747 commit 0e875f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tst/EnergyPlus/unit/EconomicTariff.unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,7 @@ TEST_F(EnergyPlusFixture, EconomicTariff_LEEDtariff_with_Custom_Meter)

EXPECT_EQ("DistrictHeatingUnit", RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchLeedEtsRtNm, "District Heating"));

EXPECT_EQ("Water Tariff", RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchLeedEtsRtNm, "Other"));
EXPECT_EQ("", RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchLeedEtsRtNm, "Other"));

EXPECT_EQ("0.096", RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchLeedEtsVirt, "Electricity"));

Expand All @@ -1490,5 +1490,5 @@ TEST_F(EnergyPlusFixture, EconomicTariff_LEEDtariff_with_Custom_Meter)

EXPECT_EQ("11.200", RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchLeedEtsVirt, "District Heating"));

EXPECT_EQ("7.000", RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchLeedEtsVirt, "Other"));
EXPECT_EQ("NOT FOUND", RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchLeedEtsVirt, "Other"));
}

0 comments on commit 0e875f7

Please sign in to comment.