code: def test_from_euler_intrinsic_rotation_313():
      angles = [[30, 60, 45], [30, 60, 30], [45, 30, 60]]
      dcm = Rotation.from_euler("ZXZ", angles, degrees=True).as_dcm()
  
      assert_array_almost_equal(
          dcm[0],
          np.array(
              [
                  [0.43559574, -0.78914913, 0.4330127],
                  [0.65973961, -0.04736717, -0.750000],
                  [0.61237244, 0.61237244, 0.500000],
              ]
          ),
      )
  
      assert_array_almost_equal(
          dcm[1],
          np.array(
              [
                  [0.6250000, -0.64951905, 0.4330127],
                  [0.64951905, 0.1250000, -0.750000],
                  [0.4330127, 0.750000, 0.500000],
              ]
          ),
      )
  
      assert_array_almost_equal(
          dcm[2],
          np.array(
              [
                  [-0.1767767, -0.91855865, 0.35355339],
                  [0.88388348, -0.30618622, -0.35355339],
                  [0.4330127, 0.25000000, 0.8660254],
              ]
          ),
      )
  
imports: from __future__ import division, print_function, absolute_import
  import pytest
  import numpy
  from numpy.testing import assert_equal, assert_array_almost_equal
  from numpy.testing import assert_allclose
  from scipy.spatial.transform import Rotation, Slerp
  from scipy.stats import special_ortho_group
  from itertools import permutations
label_desc: Use image node_id 32 for calling a global function with example usage: test_from_euler_intrinsic_rotation_313() without return types