code: def test_values_eq(self):
      rng_type = random_state_type
  
      rng_a = np.random.RandomState(12)
      rng_b = np.random.RandomState(12)
      rng_c = np.random.RandomState(123)
  
      bg = np.random.PCG64()
      rng_d = np.random.RandomState(bg)
      rng_e = np.random.RandomState(bg)
  
      bg_2 = np.random.Philox()
      rng_f = np.random.RandomState(bg_2)
      rng_g = np.random.RandomState(bg_2)
  
      assert rng_type.values_eq(rng_a, rng_b)
      assert not rng_type.values_eq(rng_a, rng_c)
  
      assert not rng_type.values_eq(rng_a, rng_d)
      assert not rng_type.values_eq(rng_d, rng_a)
  
      assert not rng_type.values_eq(rng_a, rng_d)
      assert rng_type.values_eq(rng_d, rng_e)
  
      assert rng_type.values_eq(rng_f, rng_g)
      assert not rng_type.values_eq(rng_g, rng_a)
      assert not rng_type.values_eq(rng_e, rng_g)
  
file_path: pytensor/tests/tensor/random/test_type.py
imports: import pickle
  import numpy
  import pytest
  from pytensor import shared
  from pytensor.compile.ops import ViewOp
  from pytensor.tensor.random.type import RandomGeneratorType, RandomStateType, random_generator_type, random_state_type
label_desc: Use image node_id 4 for calling the TestRandomStateType obj's underlying member method code with example usage: obj.test_values_eq() without return types