docstr: Tests that ndc_to_screen generates expected results.
docstr_tok: ["Tests","that","ndc_to_screen","generates","expected","results","."]
code: def test_ndc_to_screen_preset(self):
      """Tests that ndc_to_screen generates expected results."""
      point = (
          (0.0, 0.0, 0.0),
          (1.0, 1.0, 0.0),
          (-1.0, -1.0, 1.0),
          (1.0, -1.0, -1.0),
      )
      lower_left_corner = (
          (0.0, 0.0),
          (0.0, 0.0),
          (3.0, 4.0),
          (4.0, 3.0),
      )
      screen_dimensions = (
          (10.0, 10.0),
          (5.0, 10.0),
          (20.0, 20.0),
          (15.0, 35.0),
      )
      near = ((1.0,), (1.0,), (2.0,), (3.0,))
      far = ((11.0,), (11.0,), (20.0,), (4.0,))
  
      pred = glm.ndc_to_screen(
          point, lower_left_corner, screen_dimensions, near, far
      )
  
      gt = (
          (5.0, 5.0, 6.0),
          (5.0, 10.0, 6.0),
          (3.0, 4.0, 20.0),
          (19.0, 3.0, 3.0),
      )
      self.assertAllClose(pred, gt)
  
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 16 for calling the MathTest obj's underlying member method code with example usage: obj.test_ndc_to_screen_preset() without return types