docstr: Checks that Euler angles can be retrieved from quaternions.
docstr_tok: ["Checks","that","Euler","angles","can","be","retrieved","from","quaternions","."]
code: def test_from_quaternion_random(self):
      """Checks that Euler angles can be retrieved from quaternions."""
      random_euler_angles = (
          test_helpers.generate_random_test_euler_angles()
      )
  
      random_matrix = rotation_matrix_3d.from_euler(random_euler_angles)
      random_quaternion = quaternion.from_rotation_matrix(random_matrix)
      predicted_angles = euler.from_quaternion(random_quaternion)
      predicted_matrix = rotation_matrix_3d.from_euler(predicted_angles)
  
      self.assertAllClose(random_matrix, predicted_matrix, atol=2e-3)
  
imports: from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.geometry.transformation import axis_angle
  from tensorflow_graphics.geometry.transformation import euler
  from tensorflow_graphics.geometry.transformation import quaternion
  from tensorflow_graphics.geometry.transformation import rotation_matrix_3d
  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 14 for calling the EulerTest obj's underlying member method code with example usage: obj.test_from_quaternion_random() without return types