Skip to content

Commit

Permalink
add doctest for sagemath#13569
Browse files Browse the repository at this point in the history
  • Loading branch information
mezzarobba committed Feb 8, 2023
1 parent 698001b commit 57475d3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/sage/groups/perm_gps/permgroup_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ We create element of a permutation group of large degree::
sage: G = SymmetricGroup(30)
sage: s = G(srange(30,0,-1)); s
(1,30)(2,29)(3,28)(4,27)(5,26)(6,25)(7,24)(8,23)(9,22)(10,21)(11,20)(12,19)(13,18)(14,17)(15,16)
TESTS:
Check that :trac:`13569` is fixed::
sage: [g*h for g in SymmetricGroup(3) for h in AlternatingGroup(3)]
[(), (1,2,3), (1,3,2), (1,3,2), (), (1,2,3), (1,2,3), (1,3,2), (), (2,3),
(1,2), (1,3), (1,3), (2,3), (1,2), (1,2), (1,3), (2,3)]
"""

# ****************************************************************************
Expand Down

0 comments on commit 57475d3

Please sign in to comment.