code: def test_from_euler_elementary_extrinsic_rotation():
      # Simple test to check if extrinsic rotations are implemented correctly
      dcm = Rotation.from_euler("zx", [90, 90], degrees=True).as_dcm()
      expected_dcm = np.array([[0, -1, 0], [0, 0, -1], [1, 0, 0]])
      assert_array_almost_equal(dcm, expected_dcm)
  
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 30 for calling a global function with example usage: test_from_euler_elementary_extrinsic_rotation() without return types