docstr: Tests that the rotate function correctly rotates points.
docstr_tok: ["Tests","that","the","rotate","function","correctly","rotates","points","."]
code: def test_rotate_preset(self, test_inputs, test_outputs):
      """Tests that the rotate function correctly rotates points."""
  
      def func(test_point, test_angle):
          random_matrix = rotation_matrix_2d.from_euler(test_angle)
          return rotation_matrix_2d.rotate(test_point, random_matrix)
  
      self.assert_output_is_correct(func, test_inputs, test_outputs)
  
imports: from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  from tensorflow_graphics.geometry.transformation import rotation_matrix_2d
  from tensorflow_graphics.geometry.transformation.tests import test_data
  from tensorflow_graphics.geometry.transformation.tests import test_helpers
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 21 for calling the RotationMatrix2dTest obj's underlying member method code with example usage: obj.test_rotate_preset(test_inputs, test_outputs) and returns: rotation_matrix_2d