mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
extended floor attributes and added new test
This commit is contained in:
parent
a5ef3b8483
commit
99ea438490
3 changed files with 7 additions and 3 deletions
|
|
@ -3,6 +3,10 @@ clean_floor_cases = [
|
||||||
'thermal_transmittance_unit': None, 'is_assumed': False, 'is_to_unheated_space': False,
|
'thermal_transmittance_unit': None, 'is_assumed': False, 'is_to_unheated_space': False,
|
||||||
'is_to_external_air': False, 'is_suspended': False, 'is_solid': False, 'insulation_thickness': None,
|
'is_to_external_air': False, 'is_suspended': False, 'is_solid': False, 'insulation_thickness': None,
|
||||||
"another_property_below": True},
|
"another_property_below": True},
|
||||||
|
{'original_description': '(anheddiad arall islaw)', 'thermal_transmittance': None,
|
||||||
|
'thermal_transmittance_unit': None, 'is_assumed': False, 'is_to_unheated_space': False,
|
||||||
|
'is_to_external_air': False, 'is_suspended': False, 'is_solid': False, 'insulation_thickness': None,
|
||||||
|
"another_property_below": True},
|
||||||
{'original_description': '(other premises below)', 'thermal_transmittance': None,
|
{'original_description': '(other premises below)', 'thermal_transmittance': None,
|
||||||
'thermal_transmittance_unit': None,
|
'thermal_transmittance_unit': None,
|
||||||
'is_assumed': False, 'is_to_unheated_space': False, 'is_to_external_air': False, 'is_suspended': False,
|
'is_assumed': False, 'is_to_unheated_space': False, 'is_to_external_air': False, 'is_suspended': False,
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import pickle
|
||||||
import pytest
|
import pytest
|
||||||
import os
|
import os
|
||||||
from unittest.mock import Mock
|
from unittest.mock import Mock
|
||||||
from model_data.recommendations.FloorRecommendations import FloorRecommendations
|
from recommendations.FloorRecommendations import FloorRecommendations
|
||||||
|
|
||||||
|
|
||||||
class TestWallRecommendations:
|
class TestWallRecommendations:
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import pytest
|
||||||
import pickle
|
import pickle
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from unittest.mock import Mock, MagicMock
|
from unittest.mock import Mock, MagicMock
|
||||||
from model_data.recommendations.WallRecommendations import WallRecommendations
|
from recommendations.WallRecommendations import WallRecommendations
|
||||||
from model_data.analysis.UvalueEstimations import UvalueEstimations
|
from model_data.analysis.UvalueEstimations import UvalueEstimations
|
||||||
from model_data.Property import Property
|
from model_data.Property import Property
|
||||||
from model_data.recommendations.recommendation_utils import is_diminishing_returns
|
from recommendations.recommendation_utils import is_diminishing_returns
|
||||||
|
|
||||||
|
|
||||||
class TestWallRecommendations:
|
class TestWallRecommendations:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue