1
0
mirror of https://github.com/gsi-upm/soil synced 2025-08-23 19:52:19 +00:00

Bug fixes and minor improvements

This commit is contained in:
J. Fernando Sánchez
2022-05-12 16:14:47 +02:00
parent affeeb9643
commit 2116fe6f38
9 changed files with 80 additions and 63 deletions

View File

@@ -127,7 +127,7 @@ class TestMain(TestCase):
env = s.run_simulation(dry_run=True)[0]
for agent in env.network_agents:
last = 0
assert len(agent[None, None]) == 11
assert len(agent[None, None]) == 10
for step, total in sorted(agent['total', None]):
assert total == last + 2
last = total