code: def testPlayerCommonCanBeSet(self):
      self._builder.player_common(
          minerals=1000,
          vespene=200,
          food_cap=200,
          food_used=198,
          food_army=140,
          food_workers=58,
          army_count=92,
          warp_gate_count=7,
          larva_count=15,
      )
  
      obs = self._get_obs()
      self.assertEqual(
          obs.player_common.player_id, 1
      )  # (we didn't set it)
      self.assertEqual(obs.player_common.minerals, 1000)
      self.assertEqual(obs.player_common.vespene, 200)
      self.assertEqual(obs.player_common.food_cap, 200)
      self.assertEqual(obs.player_common.food_used, 198)
      self.assertEqual(obs.player_common.food_army, 140)
      self.assertEqual(obs.player_common.food_workers, 58)
      self.assertEqual(
          obs.player_common.idle_worker_count, 2
      )  # (didn't set it)
      self.assertEqual(obs.player_common.army_count, 92)
      self.assertEqual(obs.player_common.warp_gate_count, 7)
      self.assertEqual(obs.player_common.larva_count, 15)
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from pysc2.lib import actions
  from pysc2.lib import features
  from pysc2.lib import point
  from pysc2.lib import units
  from pysc2.tests import dummy_observation
  from s2clientprotocol import common_pb2
label_desc: Use image node_id 6 for calling the DummyObservationTest obj's underlying member method code with example usage: obj.testPlayerCommonCanBeSet() without return types