Exemplo n.º 1
0
 def testBsuiteEnvRegistered(self):
     env = suite_bsuite.load('deep_sea/0', record=False)
     self.assertIsInstance(env, py_environment.PyEnvironment)
Exemplo n.º 2
0
 def testGinConfig(self):
     gin.parse_config_file(
         test_utils.test_src_dir_path(
             'environments/configs/suite_bsuite.gin'))
     env = suite_bsuite.load()
     self.assertIsInstance(env, py_environment.PyEnvironment)
Exemplo n.º 3
0
 def testBsuiteEnvRegisteredWithRecord(self):
     env = suite_bsuite.load('deep_sea/0',
                             record=True,
                             save_path=None,
                             logging_mode='terminal')
     self.assertIsInstance(env, py_environment.PyEnvironment)