docstr: Tests that eye_to_clip generates expected results.
docstr_tok: ["Tests","that","eye_to_clip","generates","expected","results","."]
code: def test_eye_to_clip_preset(self):
      """Tests that eye_to_clip generates expected results."""
      point = ((2.0, 3.0, 4.0), (3.0, 4.0, 5.0))
      vertical_field_of_view = (
          (60.0 * math.pi / 180.0,),
          (50.0 * math.pi / 180.0,),
      )
      aspect_ratio = ((1.5,), (1.6,))
      near_plane = ((1.0,), (2.0,))
      far_plane = ((10.0,), (11.0,))
  
      pred = glm.eye_to_clip(
          point,
          vertical_field_of_view,
          aspect_ratio,
          near_plane,
          far_plane,
      )
  
      gt = (
          (2.30940104, 5.19615173, -7.11111116, -4.0),
          (4.02095032, 8.57802773, -12.11111069, -5.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 6 for calling the MathTest obj's underlying member method code with example usage: obj.test_eye_to_clip_preset() without return types