code: def test_game_info(self):
      env = mock_sc2_env.SC2TestEnv(
          agent_interface_format=features.AgentInterfaceFormat(
              feature_dimensions=features.Dimensions(
                  screen=64, minimap=32
              ),
              use_feature_units=True,
          ),
          players=[
              sc2_env.Agent(sc2_env.Race.protoss, "player"),
              sc2_env.Bot(
                  sc2_env.Race.random,
                  sc2_env.Difficulty.easy,
                  sc2_env.BotBuild.random,
              ),
          ],
      )
  
      self.assertLen(env.game_info, 1)
      self.assertEqual(
          env.game_info[0],
          sc2api_pb2.ResponseGameInfo(
              start_raw=raw_pb2.StartRaw(
                  map_size=common_pb2.Size2DI(
                      x=mock_sc2_env.DUMMY_MAP_SIZE,
                      y=mock_sc2_env.DUMMY_MAP_SIZE,
                  )
              ),
              options=sc2api_pb2.InterfaceOptions(
                  feature_layer=sc2api_pb2.SpatialCameraSetup(
                      resolution=common_pb2.Size2DI(x=64, y=64),
                      minimap_resolution=common_pb2.Size2DI(x=32, y=32),
                      width=24,
                  )
              ),
              player_info=[
                  sc2api_pb2.PlayerInfo(
                      player_id=1,
                      type=sc2api_pb2.PlayerType.Participant,
                      race_requested=enums.Race.protoss,
                      player_name="player",
                  ),
                  sc2api_pb2.PlayerInfo(
                      player_id=2,
                      type=sc2api_pb2.PlayerType.Computer,
                      race_requested=enums.Race.random,
                      difficulty=enums.Difficulty.easy,
                      ai_build=enums.BotBuild.random,
                      player_name="easy",
                  ),
              ],
          ),
      )
  
imports: from absl.testing import absltest
  import mock
  import numpy
  from pysc2.env import enums
  from pysc2.env import environment
  from pysc2.env import mock_sc2_env
  from pysc2.env import sc2_env
  from pysc2.lib import features
  from s2clientprotocol import common_pb2
  from s2clientprotocol import raw_pb2
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 5 for calling the TestSC2TestEnv obj's underlying member method code with example usage: obj.test_game_info() without return types