docstr: Test RandomState behavior.
docstr_tok: ["Test","RandomState","behavior","."]
code: def test_random_state(self):
      """Test RandomState behavior."""
      v1 = objax.RandomState(0)
      v2 = objax.RandomState(1)
      v3 = objax.RandomState(0)
      self.assertEqual(v1.value.tolist(), [0, 0])
      self.assertEqual(v2.value.tolist(), [0, 1])
      s1 = v1.split(1)[0]
      self.assertEqual(s1.tolist(), [2718843009, 1272950319])
      self.assertEqual(v1.value.tolist(), [4146024105, 967050713])
      s2 = v1.split(1)[0]
      self.assertEqual(s2.tolist(), [1278412471, 2182328957])
      self.assertEqual(v1.value.tolist(), [2384771982, 3928867769])
      s1, s2 = v3.split(2)
      self.assertEqual(s1.tolist(), [3186719485, 3840466878])
      self.assertEqual(s2.tolist(), [2562233961, 1946702221])
      self.assertEqual(v3.value.tolist(), [2467461003, 428148500])
  
imports: import unittest
  import numpy
  import jax.numpy
  import objax
label_desc: Use image node_id 4 for calling the TestVariable obj's underlying member method code with example usage: obj.test_random_state() without return types