code: def test_icosahedral():
      """The icosahedral group fixes the rotations of an icosahedron. Here we
      test that the icosahedron is invariant after application of the elements
      of the rotation group."""
      P = _generate_icosahedron()
      for g in Rotation.create_group("I"):
          g = Rotation.from_quat(g.as_quat())
          assert _calculate_rmsd(P, g.apply(P)) < TOL
  
imports: import pytest
  import numpy
  from numpy.testing import assert_array_almost_equal
  from scipy.spatial.transform import Rotation
  from scipy.optimize import linear_sum_assignment
  from scipy.spatial.distance import cdist
  from scipy.constants import golden
  from scipy.spatial import cKDTree
label_desc: Use image node_id 11 for calling a global function with example usage: test_icosahedral() without return types