-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix truncations logic error in base_aec_wrapper.py (#247)
- Loading branch information
1 parent
6e1f348
commit ed2641e
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from pettingzoo.mpe import simple_spread_v3 | ||
from pettingzoo.test import parallel_api_test | ||
|
||
from supersuit.multiagent_wrappers import pad_action_space_v0 | ||
|
||
|
||
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) |