code: def test_generators(generator_class):
      state = generator_class(5)
      x = state.normal(10, 1, size=10, chunks=5)
      assert_eq(x, x)
  
      state = generator_class(5)
      y = state.normal(10, 1, size=10, chunks=5)
      assert_eq(x, y)
  
imports: from __future__ import annotations
  import pytest
  import numpy
  import dask
  import dask.array
  from dask.array.core import Array
  from dask.array.utils import assert_eq
  from dask.multiprocessing import _dumps, _loads
  from dask.utils import key_split
label_desc: Use image node_id 2 for calling a global function with example usage: test_generators(generator_class) without return types