docstr: Tests exceptions on the values of theta.
docstr_tok: ["Tests","exceptions","on","the","values","of","theta","."]
code: def test_evaluate_spherical_harmonics_exception_theta_raised(self):
      """Tests exceptions on the values of theta."""
      l = np.random.randint(1, 4, size=(1,))
      m = np.random.randint(5, 10, size=(1,))
      theta = np.random.uniform(
          np.pi + sys.float_info.epsilon, 2.0 * np.pi, size=(1,)
      )
      phi = np.random.uniform(0.0, 2.0 * np.pi, size=(1,))
  
      with self.assertRaises(tf.errors.InvalidArgumentError):
          self.evaluate(
              spherical_harmonics.evaluate_spherical_harmonics(
                  l, m, theta, phi
              )
          )
  
      theta = np.random.uniform(
          -np.pi, 0.0 - sys.float_info.epsilon, size=(1,)
      )
  
      with self.assertRaises(tf.errors.InvalidArgumentError):
          self.evaluate(
              spherical_harmonics.evaluate_spherical_harmonics(
                  l, m, theta, phi
              )
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.math import math_helpers
  from tensorflow_graphics.math import spherical_harmonics
  from tensorflow_graphics.util import asserts
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 15 for calling the SphericalHarmonicsTest obj's underlying member method code with example usage: obj.test_evaluate_spherical_harmonics_exception_theta_raised() without return types