From ca81ce30208cdbb532e4e53e4be73de71fdae703 Mon Sep 17 00:00:00 2001 From: guille Date: Tue, 8 Aug 2023 13:05:55 -0400 Subject: [PATCH] correct unit tests --- tests/test_city_merge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_city_merge.py b/tests/test_city_merge.py index f2b4359c..24bdc800 100644 --- a/tests/test_city_merge.py +++ b/tests/test_city_merge.py @@ -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)