code: def testSample(self):
      dist = srp.StoppingRatioLogistic(
          cutpoints=[-1.0, 0.0, 1.0], loc=0.0
      )
      samples = self.evaluate(
          dist.sample(int(1e5), seed=test_util.test_seed())
      )
      expected_probs = [0.2689414, 0.3655293, 0.26722333, 0.09830596]
      for k, p in enumerate(expected_probs):
          self.assertAllClose(np.mean(samples == k), p, atol=0.01)
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import ascending
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.distributions import stopping_ratio_logistic
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 8 for calling the StoppingRatioLogisticTest obj's underlying member method code with example usage: obj.testSample() without return types