| 30 | using namespace openstudio::model; |
| 31 | |
| 32 | unsigned setWWR(Space& space, double wwr) { |
| 33 | unsigned windowsAdded = 0; |
| 34 | for (Surface& surface : space.surfaces()) { |
| 35 | if (istringEqual(surface.surfaceType(), "Wall")) { |
| 36 | boost::optional<SubSurface> subSurface = surface.setWindowToWallRatio(wwr); |
| 37 | if (subSurface) { |
| 38 | windowsAdded += 1; |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | return windowsAdded; |
| 43 | } |
| 44 | |
| 45 | TEST_F(ModelFixture, ModelMerger_Initial_Empty) { |
| 46 |
no test coverage detected