docstr: Tests that axis_angle.from_quaternion produces the expected result.
docstr_tok: ["Tests","that","axis_angle.from_quaternion","produces","the","expected","result","."]
code: def test_from_quaternion_preset(self):
      """Tests that axis_angle.from_quaternion produces the expected result."""
      preset_euler_angles = (
          test_helpers.generate_preset_test_euler_angles()
      )
  
      preset_quaternions = quaternion.from_euler(preset_euler_angles)
      preset_axis_angle = axis_angle.from_euler(preset_euler_angles)
  
      self.assertAllClose(
          preset_axis_angle,
          axis_angle.from_quaternion(preset_quaternions),
          rtol=1e-3,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  from six.moves import range
  from six.moves import zip
  import tensorflow
  from tensorflow_graphics.geometry.transformation import axis_angle
  from tensorflow_graphics.geometry.transformation import quaternion
  from tensorflow_graphics.geometry.transformation import rotation_matrix_3d
  from tensorflow_graphics.geometry.transformation.tests import test_helpers
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 15 for calling the AxisAngleTest obj's underlying member method code with example usage: obj.test_from_quaternion_preset() without return types