Skip to content

Commit

Permalink
semitrans.tst: add test for new WreathProduct method
Browse files Browse the repository at this point in the history
  • Loading branch information
ffloresbrito committed Jun 21, 2017
1 parent 743977d commit f57db4e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tst/standard/semitrans.tst
Original file line number Diff line number Diff line change
Expand Up @@ -2785,7 +2785,7 @@ gap> Unbind(rels);
gap> Unbind(x);
gap> Unbind(y);
#T# Tests wreath product method
#T# Tests wreath product of transf. semgp. and perm. group
gap> T := FullTransformationMonoid(3);;
gap> C := Group((1, 3));;
gap> TC := WreathProduct(T, C);;
Expand All @@ -2796,12 +2796,20 @@ gap> TC := WreathProduct(T, C);;
gap> Size(TC) = 1458;
true
#T# Test wreath product of perm. group and transf. semgp.
gap> W := WreathProduct(Group((1, 2)), FullTransformationMonoid(3));;
gap> Size(W);
216
#T# Tests wreath product of a monoid not satisfying IsTransformationMonoid
gap> S := Semigroup(Transformation([1, 2, 3, 3, 3]));;
gap> C := Group((1, 2));;
gap> W := WreathProduct(S, C);;
gap> Size(W) = 2;
true
gap> WW := WreathProduct(C, S);;
gap> Size(WW);
32
#E#
gap> SEMIGROUPS.StopTest();
Expand Down

0 comments on commit f57db4e

Please sign in to comment.