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

Release 0.20.7

This commit is contained in:
J. Fernando Sánchez
2022-07-06 09:23:18 +02:00
parent 50cba751a6
commit a40aa55b6a
5 changed files with 13 additions and 7 deletions

View File

@@ -16,9 +16,7 @@ class TestMain(TestCase):
d.step()
with pytest.raises(agents.DeadAgent):
d.step()
def test_die_returns_infinity(self):
d = Dead(unique_id=0, model=environment.Environment())
assert d.step().abs(0) == stime.INFINITY