Skip to content

Commit

Permalink
Add tests for TwoClosure (#5563)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJefferson committed Jan 8, 2024
1 parent 3733078 commit f2129b2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tst/testinstall/grpperm.tst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,31 @@ gap> Index(sym,b);
3603600
gap> Length(ContainedConjugates(sym,a,b));
5
gap> TwoClosure(SymmetricGroup([3..6]));
Sym( [ 3 .. 6 ] )
gap> TwoClosure(AlternatingGroup(6));
Sym( [ 1 .. 6 ] )
gap> TwoClosure(AlternatingGroup([3..6]));
Sym( [ 3 .. 6 ] )
gap> TwoClosure(Group([(1,2,3,4,5)]));
Group([ (1,2,3,4,5) ])
gap> TwoClosure(Group([(2,3,4,5,6)]));
Group([ (2,3,4,5,6) ])
gap> TwoClosure(Group([],()));
Group(())
gap> TwoClosure(Group([(1,2,3)(4,5,6),(1,4)(2,5)(3,6)])) =
> Group([ (1,2,3)(4,5,6), (1,4)(2,5)(3,6) ]);
true
gap> TwoClosure(Group([(9,2,3)(4,5,6),(9,4)(2,5)(3,6)])) =
> Group([ (2,3,9)(4,5,6), (2,5)(3,6)(4,9) ]);
true
gap> TwoClosure(Group([ (1,8)(2,3)(4,5)(6,7), (1,3)(2,8)(4,6)(5,7),
> (1,5)(2,6)(3,7)(4,8), (1,2,3)(4,6,5) ])) =
> Group([ (2,8,3)(4,5,7), (1,5)(2,6)(3,7)(4,8),
> (1,3)(2,8)(4,6)(5,7), (1,8)(2,3)(4,5)(6,7), (3,8)(4,7) ]);
true
gap> TwoClosure(Group((1,2),(3,4)));
Error, 2-closure: <G> must be transitive

#
gap> AsSet(SymmetricGroup(3));
Expand Down

0 comments on commit f2129b2

Please sign in to comment.