| 19 | using namespace openstudio::model; |
| 20 | |
| 21 | TEST_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 | |
| 35 | TEST_F(ModelFixture, DaylightRedirectionDevice_Construction) { |
| 36 | Model model; |
nothing calls this directly
no test coverage detected