Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas committed Sep 27, 2024
1 parent 3eedf9a commit 0f7696a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/envs/mujoco/test_mujoco_rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ def test_camera_id():
env_b.reset(seed=5)
env_c.reset(seed=5)

assert (env_a.render() == env_b.render()).all(), "If this fails, the test is not valid"
assert (
(env_a.render() != env_c.render()).all()
), "render() output should be different for different camera_id"
env_a.render() == env_b.render()
).all(), "If this fails, the test is not valid"
assert (
env_a.render() != env_c.render()
).all(), "render() output should be different for different camera_id"

0 comments on commit 0f7696a

Please sign in to comment.