Explorar el Código

Added test for obs wrappers

Maxime Chevalier-Boisvert hace 5 años
padre
commit
cf9a3760ed
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      run_tests.py

+ 3 - 0
run_tests.py

@@ -127,6 +127,9 @@ for env_idx, env_name in enumerate(env_list):
         )
         # This should not fail either
         ImgObsWrapper(env)
+        env.reset()
+        env.step(0)
+        env.close()
 
 ##############################################################################