code: def testAssertValidSample(self):
      tri = triangular.Triangular(
          low=2.0, high=5.0, peak=3.3, validate_args=True
      )
      with self.assertRaisesOpError(
          "must be greater than or equal to `low`"
      ):
          self.evaluate(tri.cdf([2.3, 1.7, 4.0]))
      with self.assertRaisesOpError(
          "must be less than or equal to `high`"
      ):
          self.evaluate(tri.survival_function([2.3, 5.2, 4.0]))
  
imports: import numpy
  from scipy import stats
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import triangular
  from tensorflow_probability.python.distributions.internal import statistical_testing
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 8 for calling the _TriangularTest obj's underlying member method code with example usage: obj.testAssertValidSample() without return types