code: def test_random_agent(self, agent_interface_format):
      steps = 250
      step_mul = 8
      with sc2_env.SC2Env(
          map_name=["Simple64", "Simple96"],
          players=[
              sc2_env.Agent([sc2_env.Race.random, sc2_env.Race.terran]),
              sc2_env.Bot(
                  [sc2_env.Race.zerg, sc2_env.Race.protoss],
                  sc2_env.Difficulty.easy,
                  [sc2_env.BotBuild.rush, sc2_env.BotBuild.timing],
              ),
          ],
          agent_interface_format=agent_interface_format,
          step_mul=step_mul,
          game_steps_per_episode=steps * step_mul // 3,
      ) as env:
          agent = random_agent.RandomAgent()
          run_loop.run_loop([agent], env, steps)
  
      self.assertEqual(agent.steps, steps)
  
file_path: pysc2/pysc2/tests/random_agent_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from pysc2.agents import random_agent
  from pysc2.env import run_loop
  from pysc2.env import sc2_env
  from pysc2.tests import utils
label_desc: Use image node_id 1 for calling the TestRandomAgent obj's underlying member method code with example usage: obj.test_random_agent(agent_interface_format) without return types