Skip to content

Commit

Permalink
Create real_pettingzoo_env_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottower authored Mar 13, 2024
1 parent ce93dcd commit fcc2ff2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions real_pettingzoo_env_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import pytest
from pettingzoo.test import parallel_api_test
from pettingzoo.mpe import simple_spread_v3

def test_pad_actuon_space():
env = simple_spread_v3.parallel_env(max_cycles=25, continuous_actions=True)
env = pad_action_space_v0(env)

parallel_api_test(env, num_cycles=100)

0 comments on commit fcc2ff2

Please sign in to comment.