Skip to content

Commit

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

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

0 comments on commit 3eedf9a

Please sign in to comment.