code: def test_named_dict(self):
      a = named_array.NamedDict(a=2, b=(1, 2))
      self.assertEqual(a["a"], a.a)
      self.assertEqual(a["b"], a.b)
      self.assertIs(a["b"], a.b)
      self.assertNotEqual(a["a"], a.b)
      a.c = 3
      self.assertEqual(a["c"], 3)
  
imports: import collections
  import enum
  import pickle
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from pysc2.lib import named_array
label_desc: Use image node_id 1 for calling the NamedDictTest obj's underlying member method code with example usage: obj.test_named_dict() without return types