docstr: Tests that the rotate provide the same results as quaternion.rotate.
docstr_tok: ["Tests","that","the","rotate","provide","the","same","results","as","quaternion.rotate","."]
code: def test_rotate_vs_rotate_quaternion_random(self):
      """Tests that the rotate provide the same results as quaternion.rotate."""
      random_euler_angle = (
          test_helpers.generate_random_test_euler_angles()
      )
      tensor_tile = random_euler_angle.shape[:-1]
  
      random_matrix = rotation_matrix_3d.from_euler(random_euler_angle)
      random_quaternion = quaternion.from_rotation_matrix(random_matrix)
      random_point = np.random.normal(size=tensor_tile + (3,))
      ground_truth = quaternion.rotate(random_point, random_quaternion)
      prediction = rotation_matrix_3d.rotate(
          random_point, random_matrix
      )
  
      self.assertAllClose(ground_truth, prediction, rtol=1e-6)
  
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 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 46 for calling the RotationMatrix3dTest obj's underlying member method code with example usage: obj.test_rotate_vs_rotate_quaternion_random() without return types