diff --git a/tests/unit_tests.py b/tests/unit_tests.py index 529300f..e25bc93 100644 --- a/tests/unit_tests.py +++ b/tests/unit_tests.py @@ -49,6 +49,7 @@ class UnitTests(TestCase): for building in self._city.buildings: result = Cost(building).life_cycle self.assertIsNotNone(result) + self.assertEqual(0, result.values[0]) def test_scenario_1(self): for building in self._city.buildings: @@ -57,12 +58,13 @@ class UnitTests(TestCase): def test_scenario_2(self): for building in self._city.buildings: - result = Cost(building, retrofit_scenario=SKIN_RETROFIT_AND_SYSTEM_RETROFIT_AND_PV).life_cycle + result = Cost(building, retrofit_scenario=SYSTEM_RETROFIT_AND_PV).life_cycle self.assertIsNotNone(result) + self.assertEqual(0, result.values[0]) def test_scenario_3(self): for building in self._city.buildings: - result = Cost(building, retrofit_scenario=SYSTEM_RETROFIT_AND_PV).life_cycle + result = Cost(building, retrofit_scenario=SKIN_RETROFIT_AND_SYSTEM_RETROFIT_AND_PV).life_cycle self.assertIsNotNone(result) def tearDown(self):