def test_does_not_modify_action(self): env = GridWorldEnv(desc="8x8") a = env.action_space.sample() a_copy = a env.reset() env.step(a) self.assertEquals(a, a_copy)
def test_does_not_modify_action(self): env = GridWorldEnv(desc='8x8') a = env.action_space.sample() a_copy = a env.reset() env.step(a) assert a == a_copy env.close()