Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
499b6a504f
|
@ -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
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user