| 16 | using namespace openstudio; |
| 17 | |
| 18 | TEST_F(ModelFixture, Schedule_FinalStrictness) { |
| 19 | Model model; |
| 20 | ScheduleConstant schedule(model); |
| 21 | schedule.setValue(-0.1); |
| 22 | EXPECT_TRUE(checkOrAssignScheduleTypeLimits("Lights", "Lighting", schedule)); |
| 23 | ValidityReport report = schedule.validityReport(StrictnessLevel(StrictnessLevel::Final)); |
| 24 | ASSERT_EQ(0u, report.numErrors()); |
| 25 | schedule.setValue(0.5); |
| 26 | report = schedule.validityReport(StrictnessLevel(StrictnessLevel::Final)); |
| 27 | EXPECT_EQ(0u, report.numErrors()); |
| 28 | } |
nothing calls this directly
no test coverage detected