docstr: Tests that clip_to_ndc generates expected results.
docstr_tok: ["Tests","that","clip_to_ndc","generates","expected","results","."]
code: def test_clip_to_ndc_preset(self):
      """Tests that clip_to_ndc generates expected results."""
      point = ((4.0, 8.0, 16.0, 2.0), (4.0, 8.0, 16.0, 1.0))
  
      pred = glm.clip_to_ndc(point)
  
      gt = ((2.0, 4.0, 8.0), (4.0, 8.0, 16.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 11 for calling the MathTest obj's underlying member method code with example usage: obj.test_clip_to_ndc_preset() without return types