From fcc2ff2e7180ca847ba407400ff0a1d140e2c4d8 Mon Sep 17 00:00:00 2001 From: Elliot Tower Date: Wed, 13 Mar 2024 12:28:46 -0400 Subject: [PATCH] Create real_pettingzoo_env_test.py --- real_pettingzoo_env_test.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 real_pettingzoo_env_test.py diff --git a/real_pettingzoo_env_test.py b/real_pettingzoo_env_test.py new file mode 100644 index 0000000..c81128c --- /dev/null +++ b/real_pettingzoo_env_test.py @@ -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)