code: def test_defeat_roaches(self):
      with sc2_env.SC2Env(
          map_name="DefeatRoaches",
          players=[sc2_env.Agent(sc2_env.Race.terran)],
          agent_interface_format=sc2_env.AgentInterfaceFormat(
              feature_dimensions=sc2_env.Dimensions(
                  screen=84, minimap=64
              )
          ),
          step_mul=self.step_mul,
          game_steps_per_episode=self.steps * self.step_mul,
      ) as env:
          agent = scripted_agent.DefeatRoaches()
          run_loop.run_loop([agent], env, self.steps)
  
      # Get some points
      self.assertLessEqual(agent.episodes, agent.reward)
      self.assertEqual(agent.steps, self.steps)
  
file_path: pysc2/pysc2/tests/easy_scripted_test.py
imports: from absl.testing import absltest
  from pysc2.agents import scripted_agent
  from pysc2.env import run_loop
  from pysc2.env import sc2_env
  from pysc2.tests import utils
label_desc: Use image node_id 5 for calling the TestEasy obj's underlying member method code with example usage: obj.test_defeat_roaches() without return types