def test_standard_evaluators(self):
     # TODO(dulacarnold): Make this test general to all envs.
     temp_path = self._gen_stats(domain_name='cartpole',
                                 task_name='realworld_balance')
     data_in = np.load(temp_path, allow_pickle=True)
     ev = evaluators.Evaluators(data_in)
     self.assertLen(ev.get_standard_evaluators(), 5)
 def test_safety_plot(self, domain_name, task_name):
     temp_path = self._gen_stats(domain_name, task_name)
     data_in = np.load(temp_path, allow_pickle=True)
     ev = evaluators.Evaluators(data_in)
     ev.get_safety_plot()
 def test_loading(self, domain_name, task_name):
     temp_path = self._gen_stats(domain_name, task_name)
     data_in = np.load(temp_path, allow_pickle=True)
     evaluators.Evaluators(data_in)