From 9571ed608c0f45460c324d5fe581a8c5d8b57d44 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Mon, 27 Apr 2026 14:13:02 +0000 Subject: [PATCH] =?UTF-8?q?map=20elmhurst=20window=20transmission=20detail?= =?UTF-8?q?s=20to=20epc=20property=20data=20class=20=F0=9F=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tests/test_elmhurst_end_to_end.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/backend/documents_parser/tests/test_elmhurst_end_to_end.py b/backend/documents_parser/tests/test_elmhurst_end_to_end.py index c434e833..53c81164 100644 --- a/backend/documents_parser/tests/test_elmhurst_end_to_end.py +++ b/backend/documents_parser/tests/test_elmhurst_end_to_end.py @@ -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: