def test_from_mdp(self):
    for layout_name in self.layout_name_lst:
        orignal_mdp = OvercookedGridworld.from_layout_name(layout_name)
        ae = AgentEvaluator.from_mdp(mdp=orignal_mdp, env_params={'horizon': 400})
        ae_mdp = ae.env.mdp
        self.assertEqual(orignal_mdp, ae_mdp, (('mdp with name ' + layout_name) + ' experienced an inconsistency'))
def test_from_mdp(self):
    for layout_name in self.layout_name_lst:
        orignal_mdp = OvercookedGridworld.from_layout_name(layout_name)
        ae = AgentEvaluator.from_mdp(mdp=orignal_mdp, env_params={'horizon': 400})
        ae_mdp = ae.env.mdp
        self.assertEqual(orignal_mdp, ae_mdp, (('mdp with name ' + layout_name) + ' experienced an inconsistency'))