code: def testQuantile(self, loc, scale, low, high):
      tc = truncated_cauchy.TruncatedCauchy(
          loc, scale, low, high, validate_args=True
      )
      c = cauchy.Cauchy(np.float64(loc), scale)
  
      p = np.arange(0.025, 1.0, step=0.025)
      self.assertAllClose(p, tc.cdf(tc.quantile(p.astype(np.float32))))
  
      self.assertAllClose(
          c.quantile(p * (c.cdf(high) - c.cdf(low)) + c.cdf(low)),
          tc.quantile(p.astype(np.float32)),
      )
  
      self.assertAllClose([low, high], tc.quantile([0.0, 1.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 6 for calling the TruncatedCauchyTest obj's underlying member method code with example usage: obj.testQuantile(loc, scale, low, high) without return types