docstr: Tests that generators for PRZS RNG are setup properly with different
  RNG seeds for each process.
docstr_tok: ["Tests","that","generators","for","PRZS","RNG","are","setup","properly","with","different","RNG","seeds","for","each","process","."]
code: def test_generator(self) -> None:
      """Tests that generators for PRZS RNG are setup properly with different
      RNG seeds for each process.
      """
      generators = test_generator_func()
  
      # Test that generators are communicated properly across processes
      for i in range(len(generators)):
          j = (i + 1) % len(generators)  # Next process index
          self.assertEqual(generators[i][0], generators[j][1])
  
      # Test that RNG seeds are different from each process
      for i in range(len(generators)):
          self.assertNotEqual(generators[i][0], generators[i][1])
  
imports: import unittest
  import crypten
  import crypten.communicator
  import crypten.mpc
  import torch
  from crypten.config import cfg
label_desc: Use image node_id 5 for calling the TestContext obj's underlying member method code with example usage: obj.test_generator() without return types