Skip to content

Commit

Permalink
Add a test in tst/testbugfix that would have failed prior to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Whitney authored and ChrisJefferson committed Oct 26, 2017
1 parent 577451a commit e5389a6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tst/testbugfix/2017-10-23-MagmaWith.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Issue related to MagmaWith[One|Inverses] with family specified
#
gap> MagmaWithOne(CollectionsFamily(PermutationsFamily), [(1,2),(1,2,3)]);
Group([ (1,2), (1,2,3) ])
gap> Elements(last);
[ (), (2,3), (1,2), (1,2,3), (1,3,2), (1,3) ]
gap> MagmaWithInverses(CollectionsFamily(PermutationsFamily), [(1,2),(1,2,3)]);
Group([ (1,2), (1,2,3) ])
gap> Elements(last);
[ (), (2,3), (1,2), (1,2,3), (1,3,2), (1,3) ]

0 comments on commit e5389a6

Please sign in to comment.