code: def test_CyclicGroup():
      G = CyclicGroup(10)
      elements = list(G.generate())
      assert len(elements) == 10
      assert (G.derived_subgroup()).order() == 1
      assert G.is_abelian is True
      assert G.is_solvable is True
      assert G.is_nilpotent is True
      H = CyclicGroup(1)
      assert H.order() == 1
      L = CyclicGroup(2)
      assert L.order() == 2
  
file_path: sympy/sympy/combinatorics/tests/test_named_groups.py
imports: from sympy.combinatorics.named_groups import SymmetricGroup, CyclicGroup, DihedralGroup, AlternatingGroup, AbelianGroup, RubikGroup
  from sympy.testing.pytest import raises
label_desc: Use image node_id 2 for calling a global function with example usage: test_CyclicGroup() without return types