code: def testAssertValidSample(self):
      dist = truncated_cauchy.TruncatedCauchy(
          loc=0.0, scale=2.0, low=-4.0, high=3.0, validate_args=True
      )
      with self.assertRaisesOpError(
          "must be greater than or equal to `low`"
      ):
          self.evaluate(dist.cdf([-4.2, 1.7, 2.3]))
      with self.assertRaisesOpError(
          "must be less than or equal to `high`"
      ):
          self.evaluate(dist.survival_function([2.3, -3.2, 4.0]))
  
file_path: probability/tensorflow_probability/python/distributions/truncated_cauchy_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import cauchy
  from tensorflow_probability.python.distributions import truncated_cauchy
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 11 for calling the TruncatedCauchyTest obj's underlying member method code with example usage: obj.testAssertValidSample() without return types