docstr: Tests that an angle maps to correct matrix.
docstr_tok: ["Tests","that","an","angle","maps","to","correct","matrix","."]
code: def test_from_euler_normalized_preset(self):
      """Tests that an angle maps to correct matrix."""
      euler_angles = test_helpers.generate_preset_test_euler_angles(
          dimensions=1
      )
  
      matrix = rotation_matrix_2d.from_euler(euler_angles)
  
      self.assertAllEqual(
          rotation_matrix_2d.is_valid(matrix),
          np.ones(euler_angles.shape[0:-1] + (1,), dtype=bool),
      )
  
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 5 for calling the RotationMatrix2dTest obj's underlying member method code with example usage: obj.test_from_euler_normalized_preset() without return types