correct unit tests

This commit is contained in:
Guille Gutierrez 2023-08-08 13:05:55 -04:00
parent 3f4038286e
commit ca81ce3020

View File

@ -104,5 +104,5 @@ class TestCityMerge(TestCase):
for surface in building.surfaces:
if surface.global_irradiance:
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)