docstr: Tests that an angle maps to correct matrix.
docstr_tok: ["Tests","that","an","angle","maps","to","correct","matrix","."]
code: def test_from_euler_preset(self, test_inputs, test_outputs):
      """Tests that an angle maps to correct matrix."""
      self.assert_output_is_correct(
          rotation_matrix_2d.from_euler, 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 6 for calling the RotationMatrix2dTest obj's underlying member method code with example usage: obj.test_from_euler_preset(test_inputs, test_outputs) without return types