code: def test_int_seeding():
      seeds = DICT_SPACE.seed(1)
      assert all(isinstance(seed, int) for seed in seeds)
  
      # rng, seeds = seeding.np_random(1)
      # subseeds = rng.choice(np.iinfo(int).max, size=3, replace=False)
      # b_rng, b_seeds = seeding.np_random(int(subseeds[1]))
      # b_subseeds = b_rng.choice(np.iinfo(int).max, size=2, replace=False)
  
      # "Unpack" the dict sub-spaces into individual spaces
      a = Box(low=0, high=1, shape=(3, 3), seed=seeds[1])
      b_1 = Box(low=-100, high=100, shape=(2,), seed=seeds[3])
      b_2 = Box(low=-1, high=1, shape=(2,), seed=seeds[4])
      c = Discrete(5, seed=seeds[5])
  
      for i in range(10):
          dict_sample = DICT_SPACE.sample()
          assert np.all(dict_sample["a"] == a.sample())
          assert np.all(dict_sample["b"]["b_1"] == b_1.sample())
          assert np.all(dict_sample["b"]["b_2"] == b_2.sample())
          assert dict_sample["c"] == c.sample()
  
file_path: gym/tests/spaces/test_dict.py
imports: from collections import OrderedDict
  import numpy
  import pytest
  from gym.spaces import Box, Dict, Discrete
label_desc: Use image node_id 3 for calling a global function with example usage: test_int_seeding() without return types