def test_from_mdp_params_variable_infinite(self):
    for mdp_gen_params in self.mdp_gen_params_lst:
        ae = AgentEvaluator.from_mdp_params_infinite(mdp_params=mdp_gen_params, env_params={'horizon': 400, 'num_mdp': np.inf}, outer_shape=self.outer_shape)
        mdp_0 = ae.env.mdp.copy()
        for _ in range(5):
            ae.env.reset(regen_mdp=True)
            mdp_1 = ae.env.mdp
            self.assertFalse((mdp_0 == mdp_1), 'with infinite layout generator and regen_mdp=True, the 2 layouts should not be the same')
def test_from_mdp_params_variable_infinite(self):
    for mdp_gen_params in self.mdp_gen_params_lst:
        ae = AgentEvaluator.from_mdp_params_infinite(mdp_params=mdp_gen_params, env_params={'horizon': 400, 'num_mdp': np.inf}, outer_shape=self.outer_shape)
        mdp_0 = ae.env.mdp.copy()
        for _ in range(5):
            ae.env.reset(regen_mdp=True)
            mdp_1 = ae.env.mdp
            self.assertFalse((mdp_0 == mdp_1), 'with infinite layout generator and regen_mdp=True, the 2 layouts should not be the same')