code: def test_SymmetricGroup():
      G = SymmetricGroup(5)
      elements = list(G.generate())
      assert (G.generators[0]).size == 5
      assert len(elements) == 120
      assert G.is_solvable is False
      assert G.is_abelian is False
      assert G.is_nilpotent is False
      assert G.is_transitive() is True
      H = SymmetricGroup(1)
      assert H.order() == 1
      L = SymmetricGroup(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 1 for calling a global function with example usage: test_SymmetricGroup() without return types