def test_sizing_parameter_setability(): """Test the setting of properties of SizingParameter.""" sizing = SizingParameter() sizing.heating_factor = 1 assert sizing.heating_factor == 1 sizing.cooling_factor = 1 assert sizing.cooling_factor == 1
def test_sizing_parameter_setability(): """Test the setting of properties of SizingParameter.""" sizing = SizingParameter() relative_path = './tests/ddy/chicago_monthly.ddy' sizing.add_from_ddy(relative_path) assert len(sizing.design_days) == 12 assert len(sizing) == 12 assert isinstance(sizing[0], DesignDay) sizing.heating_factor = 1 assert sizing.heating_factor == 1 sizing.cooling_factor = 1 assert sizing.cooling_factor == 1