docstr: Tests that perspective_right_handed generates expected results.
docstr_tok: ["Tests","that","perspective_right_handed","generates","expected","results","."]
code: def test_perspective_right_handed_preset(self):
      """Tests that perspective_right_handed generates expected results."""
      vertical_field_of_view = (
          (60.0 * math.pi / 180.0,),
          (50.0 * math.pi / 180.0,),
      )
      aspect_ratio = ((1.5,), (1.1,))
      near = ((1.0,), (1.2,))
      far = ((10.0,), (5.0,))
  
      pred = perspective.right_handed(
          vertical_field_of_view, aspect_ratio, near, far
      )
      gt = (
          (
              (1.15470052, 0.0, 0.0, 0.0),
              (0.0, 1.73205066, 0.0, 0.0),
              (0.0, 0.0, -1.22222221, -2.22222233),
              (0.0, 0.0, -1.0, 0.0),
          ),
          (
              (1.9495517, 0.0, 0.0, 0.0),
              (0.0, 2.14450693, 0.0, 0.0),
              (0.0, 0.0, -1.63157892, -3.15789485),
              (0.0, 0.0, -1.0, 0.0),
          ),
      )
      self.assertAllClose(pred, gt)
  
imports: import math
  import sys
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.rendering.camera import perspective
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 5 for calling the PerspectiveTest obj's underlying member method code with example usage: obj.test_perspective_right_handed_preset() without return types