mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
32 lines
806 B
Python
32 lines
806 B
Python
floor_uvalue_test_cases = [
|
|
# Test with solid floor, no insulation
|
|
{
|
|
"floor_type": "solid",
|
|
"area": 100,
|
|
"perimeter": 40,
|
|
"age_band": "A",
|
|
"wall_type": "cavity",
|
|
"insulation_thickness": None,
|
|
"expected": 0.62,
|
|
},
|
|
# Test with suspended floor, with insulation
|
|
{
|
|
"floor_type": "suspended",
|
|
"area": 120,
|
|
"perimeter": 44,
|
|
"age_band": "B",
|
|
"wall_type": "solid brick",
|
|
"insulation_thickness": "50mm",
|
|
"expected": 0.33,
|
|
},
|
|
# Test with invalid floor type
|
|
{
|
|
"floor_type": "invalid",
|
|
"area": 100,
|
|
"perimeter": 40,
|
|
"age_band": "A",
|
|
"wall_type": "cavity",
|
|
"insulation_thickness": None,
|
|
"expected": ValueError,
|
|
},
|
|
]
|