From 80c35d42df60e365f3a93218f6bb2affa0650dab Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Fri, 19 Jan 2024 17:11:06 +0000 Subject: [PATCH] Added floor uvalue cases --- .../test_data/floor_uvalue_test_cases.py | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/recommendations/tests/test_data/floor_uvalue_test_cases.py b/recommendations/tests/test_data/floor_uvalue_test_cases.py index 91d3814f..7104fd9d 100644 --- a/recommendations/tests/test_data/floor_uvalue_test_cases.py +++ b/recommendations/tests/test_data/floor_uvalue_test_cases.py @@ -29,4 +29,34 @@ floor_uvalue_test_cases = [ "insulation_thickness": None, "expected": ValueError, }, + # 16 Glastonbury road EPR - the EPR has 0.71 due to the property having 320mm wall thickness, but default being 250 + { + "floor_type": "suspended", + "area": 34.5, + "perimeter": 16.7, + "age_band": "D", + "wall_type": "cavity", + "insulation_thickness": None, + "expected": 0.72, + }, + # 31 Loddon Way - the EPR has 0.5 due to the property having 320mm wall thickness, but default being 250 + { + "floor_type": "solid", + "area": 52.08, + "perimeter": 16.2, + "age_band": "E", + "wall_type": "cavity", + "insulation_thickness": None, + "expected": 0.52, + }, + # 62 Pearmain Drive + { + "floor_type": "solid", + "area": 38.64, + "perimeter": 18.1, + "age_band": "E", + "wall_type": "cavity", + "insulation_thickness": None, + "expected": 0.69, + }, ]