mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
unit tests for estimate windows
This commit is contained in:
parent
57f92e6060
commit
1b10f5c9b1
1 changed files with 12 additions and 0 deletions
|
|
@ -518,3 +518,15 @@ def test_estimate_windows():
|
|||
)
|
||||
|
||||
assert windows_case_7 == 10, f"Expected 10 windows, got {windows_case_7}"
|
||||
|
||||
# Base on Khalim's parents flat
|
||||
windows_case_8 = recommendation_utils.estimate_windows(
|
||||
property_type="Flat",
|
||||
built_form="End-Terrace",
|
||||
construction_age_band="",
|
||||
floor_area=50,
|
||||
number_habitable_rooms=3,
|
||||
extension_count=0,
|
||||
)
|
||||
|
||||
assert windows_case_8 == 5, f"Expected 5 windows, got {windows_case_8}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue