docstr: Tests that random quaternions can be converted to rotation matrices.
docstr_tok: ["Tests","that","random","quaternions","can","be","converted","to","rotation","matrices","."]
code: def test_from_quaternion_normalized_random(self):
      """Tests that random quaternions can be converted to rotation matrices."""
      random_quaternion = (
          test_helpers.generate_random_test_quaternions()
      )
      tensor_shape = random_quaternion.shape[:-1]
  
      random_matrix = rotation_matrix_3d.from_quaternion(
          random_quaternion
      )
  
      self.assertAllEqual(
          rotation_matrix_3d.is_valid(random_matrix),
          np.ones(tensor_shape + (1,)),
      )
  
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 29 for calling the RotationMatrix3dTest obj's underlying member method code with example usage: obj.test_from_quaternion_normalized_random() without return types