docstr: Tests that the exceptions are raised correctly.
docstr_tok: ["Tests","that","the","exceptions","are","raised","correctly","."]
code: def test_square_to_spherical_coordinates_range_exception_raised(self):
      """Tests that the exceptions are raised correctly."""
      point_2d_below = np.random.uniform(
          -1.0, -sys.float_info.epsilon, size=(2,)
      )
      point_2d_above = np.random.uniform(
          1.0 + asserts.select_eps_for_addition(tf.float32),
          2.0,
          size=(2,),
      )
  
      with self.assertRaises(tf.errors.InvalidArgumentError):
          self.evaluate(
              math_helpers.square_to_spherical_coordinates(
                  point_2d_below
              )
          )
  
      with self.assertRaises(tf.errors.InvalidArgumentError):
          self.evaluate(
              math_helpers.square_to_spherical_coordinates(
                  point_2d_above
              )
          )
  
imports: import sys
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.math import math_helpers
  from tensorflow_graphics.util import asserts
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 15 for calling the MathTest obj's underlying member method code with example usage: obj.test_square_to_spherical_coordinates_range_exception_raised() without return types