Skip to content

Commit

Permalink
test type
Browse files Browse the repository at this point in the history
  • Loading branch information
ffelten committed Aug 13, 2024
1 parent a870455 commit dbddf3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ def test_mo_record_ep_statistic():
np.testing.assert_allclose(info["episode"]["dr"], [7.71538, -2.9109], rtol=0, atol=1e-2)
# 0 * 0.97**0 + 0 * 0.97**1 + 8.2 * 0.97**2 == 7.71538
# -1 * 0.97**0 + -1 * 0.97**1 + -1 * 0.97**2 == -2.9109
assert isinstance(info["episode"]["l"], np.int32)
assert isinstance(info["episode"]["l"], int)
assert info["episode"]["l"] == 3
assert isinstance(info["episode"]["t"], float)

0 comments on commit dbddf3a

Please sign in to comment.