Merge remote-tracking branch 'origin/main'

This commit is contained in:
Oriol Gavalda 2023-07-18 17:25:16 -04:00
commit 499b6a504f
2 changed files with 1 additions and 10 deletions

View File

@ -1,9 +0,0 @@
import unittest
from costs.cost import Cost
class TestCosts(unittest.TestCase):
def test_costs(self):
cost = Cost()
self.assertEqual(True, False) # add assertion here

View File

@ -49,7 +49,7 @@ class UnitTests(unittest.TestCase):
for building in self._city.buildings: for building in self._city.buildings:
result = Cost(building).life_cycle result = Cost(building).life_cycle
self.assertIsNotNone(result) self.assertIsNotNone(result)
self.assertEqual(0, result.values[0]) self.assertEqual(1, result.values[0])
def test_scenario_1(self): def test_scenario_1(self):
for building in self._city.buildings: for building in self._city.buildings: