Skip to content

Commit

Permalink
Dont allocate after get input in fluid cooler test
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoldmopar committed Feb 7, 2025
1 parent f5b55ed commit 88bd598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tst/EnergyPlus/unit/FluidCoolers.unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ TEST_F(EnergyPlusFixture, FluidCooler_SizeWhenPlantSizingIndexIsZero)
state->dataPlnt->PlantLoop.allocate(FluidCoolerNum);
state->dataPlnt->PlantLoop(1).FluidName = "WATER";
state->dataPlnt->PlantLoop(1).glycol = Fluid::GetWater(*state);
state->dataFluidCoolers->SimpleFluidCooler.allocate(FluidCoolerNum);
// state->dataFluidCoolers->SimpleFluidCooler.allocate(FluidCoolerNum);
state->dataFluidCoolers->SimpleFluidCooler(FluidCoolerNum).plantLoc.loopNum = 1;
state->dataPlnt->PlantLoop(1).PlantSizNum = 0;

Expand Down

3 comments on commit 88bd598

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CoupleQuickFixes (Myoldmopar) - x86_64-Linux-Ubuntu-24.04-gcc-13.3: OK (2959 of 2959 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CoupleQuickFixes (Myoldmopar) - x86_64-Linux-Ubuntu-24.04-gcc-13.3-UnitTestsCoverage-RelWithDebInfo: OK (2141 of 2141 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CoupleQuickFixes (Myoldmopar) - x86_64-Linux-Ubuntu-24.04-gcc-13.3-IntegrationCoverage-RelWithDebInfo: OK (802 of 802 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.