Skip to content

Commit 0be4bce

Browse files
committed
adding new tests for holonomy
1 parent 9078582 commit 0be4bce

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

tst/bestiary.g

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,14 @@ ovlcovers := [Transformation([4,3,4,2]),
103103
OVLCOVERS := Semigroup(ovlcovers);
104104
SetName(OVLCOVERS,"OVLCOVERS");
105105

106+
# No singleton image
106107
nosingleton := [Transformation([5,1,3,5,1]), Transformation([5,4,5,2,4])];
107108
NOSINGLETON := Monoid(nosingleton);
109+
# bigger example reported by Hanna Derets in 2025
110+
nosingleton2 := [Transformation([5,6,7,8,3,4,6,7]),
111+
Transformation([3,4,6,7,7,8,4,6]),
112+
Transformation([2,3,4,6,6,7,8,4])];
113+
NOSINGLETON2 := Semigroup(nosingleton2);
108114

109115
#X's wide examples never coded before
110116
# l is a triple (list)

tst/holonomy.tst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# testing holonomy decomposition
2-
gap> START_TEST("Sgpdec package: holonomy.tst");
2+
gap> START_TEST("Holonomy Decomposition");
33
gap> LoadPackage("sgpdec", false);;
4+
gap> Read(Concatenation(PackageInfo("sgpdec")[1]!.InstallationPath,
5+
> "/tst/bestiary.g"));;
46
gap> hcs := HolonomyCascadeSemigroup(FullTransformationSemigroup(3));
57
<cascade semigroup with 3 generators, 2 levels with (3, 2) pts>
68
gap> hom := HomomorphismTransformationSemigroup(hcs);
@@ -80,6 +82,12 @@ gap> TestHolonomyRelationalMorphism(skBEX);
8082
true
8183
gap> TestHolonomyAction(skBEX);
8284
true
85+
gap> TestHolonomyEmulation(Skeleton(NOSINGLETON2));
86+
true
87+
gap> TestHolonomyRelationalMorphism(Skeleton(NOSINGLETON2));
88+
true
89+
gap> TestHolonomyRelationalMorphism(Skeleton(NOSINGLETON));
90+
true
8391

8492
#
85-
gap> STOP_TEST( "Sgpdec package: holonomy.tst", 10000);
93+
gap> STOP_TEST( "Holonomy Decomposition", 10000);

0 commit comments

Comments
 (0)