Skip to content

Commit

Permalink
Update test_mujoco_v5.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas authored Jun 5, 2024
1 parent 52c04fb commit 0df9473
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/envs/mujoco/test_mujoco_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,10 @@ def test_model_object_count(version: str):
else:
assert env.model.nbvh == 18
assert env.model.njnt == 11
assert env.model.ngeom == 21
if version == "v4":
assert env.model.ngeom == 21
else:
assert env.model.ngeom == 20
assert env.model.ntendon == 0

env = gym.make(f"Reacher-{version}").unwrapped
Expand Down

0 comments on commit 0df9473

Please sign in to comment.