mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
map elmhurst window transmission details to epc property data class 🟥
This commit is contained in:
parent
5940977bb2
commit
9571ed608c
1 changed files with 15 additions and 0 deletions
|
|
@ -201,6 +201,21 @@ class TestWindows:
|
|||
def test_third_window_orientation(self, result: EpcPropertyData) -> None:
|
||||
assert result.sap_windows[2].orientation == "South"
|
||||
|
||||
def test_frame_factor(self, result: EpcPropertyData) -> None:
|
||||
assert result.sap_windows[0].frame_factor == 0.7
|
||||
|
||||
def test_transmission_u_value(self, result: EpcPropertyData) -> None:
|
||||
assert result.sap_windows[0].window_transmission_details is not None
|
||||
assert result.sap_windows[0].window_transmission_details.u_value == 1.4
|
||||
|
||||
def test_transmission_solar_transmittance(self, result: EpcPropertyData) -> None:
|
||||
assert result.sap_windows[0].window_transmission_details is not None
|
||||
assert result.sap_windows[0].window_transmission_details.solar_transmittance == 0.72
|
||||
|
||||
def test_transmission_data_source(self, result: EpcPropertyData) -> None:
|
||||
assert result.sap_windows[0].window_transmission_details is not None
|
||||
assert result.sap_windows[0].window_transmission_details.data_source == "Manufacturer"
|
||||
|
||||
|
||||
class TestHeating:
|
||||
def test_single_heating_detail(self, result: EpcPropertyData) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue