code: def test_randomOrder_random_state_same_results(self):
      random_state = 99
      order = randomOrder(10, random_state=random_state)
      order2 = randomOrder(10, random_state=random_state)
  
      indices = []
      t = order.next()
      while t is not None:
          indices.append(t)
          t = order.next()
  
      indices2 = []
      t2 = order2.next()
      while t2 is not None:
          indices2.append(t2)
          t2 = order2.next()
  
      indices = np.array(indices)
      indices2 = np.array(indices2)
  
      all_same = (indices == indices2).all()
      assert all_same == True
  
file_path: matrixprofile-ts/tests/test_order.py
imports: from matrixprofile.order import *
  import numpy
  import pytest
label_desc: Use image node_id 5 for calling the TestClass obj's underlying member method code with example usage: obj.test_randomOrder_random_state_same_results() without return types