docstr: Tests that the value exceptions are raised correctly.
docstr_tok: ["Tests","that","the","value","exceptions","are","raised","correctly","."]
code: def test_estimate_radiance_value_exceptions_raised(self):
      """Tests that the value exceptions are raised correctly."""
      point_light_radiance = random_tensor(tensor_shape=(1, 1))
      point_light_position = random_tensor(tensor_shape=(1, 3))
      surface_point_position = random_tensor(tensor_shape=(3,))
      surface_point_normal = random_tensor(tensor_shape=(3,))
      observation_point = random_tensor(tensor_shape=(3,))
  
      # Verify that an InvalidArgumentError is raised as the given
      # surface_point_normal is not normalized.
      with self.assertRaises(tf.errors.InvalidArgumentError):
          self.evaluate(
              point_light.estimate_radiance(
                  point_light_radiance,
                  point_light_position,
                  surface_point_position,
                  surface_point_normal,
                  observation_point,
                  returning_zeros_brdf,
              )
          )
  
file_path: graphics/tensorflow_graphics/rendering/light/tests/point_light_test.py
imports: import math
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.rendering.light import point_light
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 6 for calling the PointLightTest obj's underlying member method code with example usage: obj.test_estimate_radiance_value_exceptions_raised() without return types