Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ffelten committed Aug 8, 2024
1 parent 9b9a3ea commit 98a695e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mo_gymnasium/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from mo_gymnasium.utils import make


__version__ = "1.1.0"
__version__ = "1.2.0"
4 changes: 2 additions & 2 deletions tests/test_wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def test_mo_record_ep_statistic():
assert info["episode"]["dr"].shape == (2,)
assert tuple(info["episode"]["r"]) == (np.float32(8.2), np.float32(-3.0))
assert tuple(np.round(info["episode"]["dr"], 2)) == (
np.float32(7.48),
np.float32(-2.82),
np.float32(7.72),
np.float32(-2.91),
)
assert isinstance(info["episode"]["l"], int)
assert info["episode"]["l"] == 3
Expand Down

0 comments on commit 98a695e

Please sign in to comment.