docstr: Tests that an exception is raised if `far` is not greater than `near`.
docstr_tok: ["Tests","that","an","exception","is","raised","if","`","far","`","is","not","greater","than","`","near","`","."]
code: def test_ndc_to_screen_exception_far_raised(self):
      """Tests that an exception is raised if `far` is not greater than `near`."""
      point = np.random.uniform(size=(3,))
      lower_left_corner = np.random.uniform(size=(2,))
      screen_dimensions = np.random.uniform(1.0, 2.0, size=(2,))
      near = np.random.uniform(1.0, 10.0, size=(1,))
      far = near + np.random.uniform(-1.0, 0.0, size=(1,))
  
      with self.assertRaises(tf.errors.InvalidArgumentError):
          self.evaluate(
              glm.ndc_to_screen(
                  point, lower_left_corner, screen_dimensions, near, far
              )
          )
  
imports: import math
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.geometry.transformation import look_at
  from tensorflow_graphics.rendering.camera import perspective
  from tensorflow_graphics.rendering.opengl import math
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 20 for calling the MathTest obj's underlying member method code with example usage: obj.test_ndc_to_screen_exception_far_raised() without return types