Skip to content

Commit

Permalink
Add test for restoring from state multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
dtch1997 committed Oct 18, 2021
1 parent ab6d9b6 commit 2d72af0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/pybullet/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def _get_and_set_state(env_name):
env.reset()
state = handler.get_current_state(env)
handler.set_env_state(state, env)
# test if we can restore the state multiple times
handler.set_env_state(state, env)


def test_freeze():
Expand Down

0 comments on commit 2d72af0

Please sign in to comment.