MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / TEST_F

Function TEST_F

src/model/test/DesignSpecificationOutdoorAir_GTest.cpp:26–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24using namespace openstudio::model;
25
26TEST_F(ModelFixture, DesignSpecificationOutdoorAir_Space) {
27 Model model;
28
29 DesignSpecificationOutdoorAir designSpecificationOutdoorAir(model);
30
31 Space space(model);
32 EXPECT_FALSE(space.designSpecificationOutdoorAir());
33 EXPECT_TRUE(space.setDesignSpecificationOutdoorAir(designSpecificationOutdoorAir));
34 ASSERT_TRUE(space.designSpecificationOutdoorAir());
35 EXPECT_EQ(designSpecificationOutdoorAir.handle(), space.designSpecificationOutdoorAir()->handle());
36}
37
38TEST_F(ModelFixture, DesignSpecificationOutdoorAir_SpaceType) {
39 Model model;

Callers

nothing calls this directly

Calls 15

combineSpacesMethod · 0.80
handleMethod · 0.45
setSpaceTypeMethod · 0.45
setThermalZoneMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected