code: def test_stamp_random_state_same_results_self_join(self):
      random_state = 99
      sampling = 0.30
      a = np.array(
          [0.0, 1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0]
      )
  
      r = stamp(
          a, 4, None, sampling=sampling, random_state=random_state
      )
      r2 = stamp(
          a, 4, None, sampling=sampling, random_state=random_state
      )
  
      all_same = (r[0] == r2[0]).all() and (r[1] == r2[1]).all()
      assert all_same == True
  
imports: from matrixprofile.matrixProfile import *
  import numpy
  import pytest
label_desc: Use image node_id 19 for calling the TestClass obj's underlying member method code with example usage: obj.test_stamp_random_state_same_results_self_join() without return types