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

Function TEST_F

src/model/test/DaylightRedirectionDevice_GTest.cpp:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19using namespace openstudio::model;
20
21TEST_F(ModelFixture, DaylightRedirectionDevice_Material) {
22 Model model;
23
24 DaylightRedirectionDevice drd(model);
25
26 ShadingControl shadingControl(drd);
27 EXPECT_FALSE(shadingControl.construction());
28 ASSERT_TRUE(shadingControl.shadingMaterial());
29 EXPECT_EQ(drd.handle(), shadingControl.shadingMaterial()->handle());
30 EXPECT_EQ("InteriorDaylightRedirectionDevice", shadingControl.shadingType());
31 EXPECT_EQ("AlwaysOn", shadingControl.shadingControlType());
32 EXPECT_FALSE(shadingControl.schedule());
33}
34
35TEST_F(ModelFixture, DaylightRedirectionDevice_Construction) {
36 Model model;

Callers

nothing calls this directly

Calls 7

shadingMaterialMethod · 0.80
shadingTypeMethod · 0.80
insertLayerMethod · 0.80
constructionMethod · 0.45
handleMethod · 0.45
shadingControlTypeMethod · 0.45
scheduleMethod · 0.45

Tested by

no test coverage detected