-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The test from tst/testextra/doublecoset.tst requires more memory than in the default `make teststandard` setting, so it is moved to benchmarks, with two more shorter tests added.
- Loading branch information
1 parent
ec440ce
commit 34b67c6
Showing
6 changed files
with
89 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
############################################################################# | ||
## | ||
#W doublecoset.tst Alexander Hulpke | ||
## | ||
## | ||
#Y Copyright (C) 1997, Lehrstuhl D für Mathematik, RWTH Aachen, Germany | ||
## | ||
## This file tests for double coset calculations | ||
## | ||
gap> START_TEST("doublecoset2.tst"); | ||
gap> g:=SimpleGroup("J2");; | ||
gap> m:=MaximalSubgroupClassReps(g);; | ||
gap> u:=First(m,x->Index(g,x)=10080);; | ||
gap> dc:=DoubleCosetRepsAndSizes(g,u,u);; | ||
gap> Length(dc);Sum(dc,x->x[2])=Size(g); | ||
191 | ||
true | ||
gap> STOP_TEST( "doublecoset1.tst", 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
############################################################################# | ||
## | ||
#W doublecoset.tst Alexander Hulpke | ||
## | ||
## | ||
#Y Copyright (C) 1997, Lehrstuhl D für Mathematik, RWTH Aachen, Germany | ||
## | ||
## This file tests for double coset calculations | ||
## | ||
gap> START_TEST("doublecoset2.tst"); | ||
gap> g:=SimpleGroup("J3");; | ||
gap> m:=MaximalSubgroupClassReps(g);; | ||
gap> u:=First(m,x->Index(g,x)=43605);; | ||
gap> dc:=DoubleCosetRepsAndSizes(g,u,u);; | ||
gap> Length(dc);Sum(dc,x->x[2])=Size(g); | ||
57 | ||
true | ||
gap> STOP_TEST( "doublecoset2.tst", 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#description | ||
#author | ||
#timelimit | ||
#cmdlineops | ||
#packages | ||
|
||
starttime := Runtime(); | ||
|
||
res := Test( "doublecoset1.tst", rec(showProgress := true) ); | ||
|
||
Print( "*** RUNTIME ", Runtime()-starttime, "\n" ); | ||
|
||
if res then | ||
QUIT_GAP(0); | ||
else | ||
QUIT_GAP(1); | ||
fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#description | ||
#author | ||
#timelimit | ||
#cmdlineops | ||
#packages | ||
|
||
starttime := Runtime(); | ||
|
||
res := Test( "doublecoset2.tst", rec(showProgress := true) ); | ||
|
||
Print( "*** RUNTIME ", Runtime()-starttime, "\n" ); | ||
|
||
if res then | ||
QUIT_GAP(0); | ||
else | ||
QUIT_GAP(1); | ||
fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#description | ||
#author | ||
#timelimit | ||
#cmdlineops | ||
#packages | ||
|
||
starttime := Runtime(); | ||
|
||
res := Test( "doublecoset3.tst", rec(showProgress := true) ); | ||
|
||
Print( "*** RUNTIME ", Runtime()-starttime, "\n" ); | ||
|
||
if res then | ||
QUIT_GAP(0); | ||
else | ||
QUIT_GAP(1); | ||
fi; |