correct unit tests
This commit is contained in:
parent
3f4038286e
commit
ca81ce3020
@ -104,5 +104,5 @@ class TestCityMerge(TestCase):
|
|||||||
for surface in building.surfaces:
|
for surface in building.surfaces:
|
||||||
if surface.global_irradiance:
|
if surface.global_irradiance:
|
||||||
second_merged_city_building_total_radiation += surface.global_irradiance[cte.YEAR][0]
|
second_merged_city_building_total_radiation += surface.global_irradiance[cte.YEAR][0]
|
||||||
self.assertEqual(first_merged_city_building_total_radiation, second_merged_city_building_total_radiation)
|
self.assertAlmostEqual(first_merged_city_building_total_radiation, second_merged_city_building_total_radiation, 8)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user