Skip to content

Commit

Permalink
Refactor NiceMonomorphismByDomain to use new style hashtable API
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jul 26, 2023
1 parent 8b68c33 commit a287456
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tst/misc.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#
gap> START_TEST("misc.tst");

# test NiceMonomorphism for subgeometries, which uses hash tables
gap> pg := PG(1,5^4);
ProjectiveSpace(1, 625)
gap> sub := CanonicalSubgeometryOfProjectiveSpace(pg, GF(5));
Subgeometry PG(1, 5) of ProjectiveSpace(1, 625)
gap> g := CollineationGroup(sub);
The FinInG collineation group PGL(2,5) of Subgeometry PG(1, 5) of ProjectiveSpace(1, 625)
gap> Size(g);
480
gap> Number([1..10], i -> PseudoRandom(g) in g);
10

#
gap> STOP_TEST("misc.tst", 10000 );
1 change: 1 addition & 0 deletions tst/testall.g
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pkgdir := DirectoriesPackageLibrary( pkgname, "tst" );
# Arrange chapters as required
testfiles := [
"bugfix.tst",
"misc.tst",
"tst_regular13system.tst",
"tst_segrevariety.tst",
"tst_hermitianspreads.tst",
Expand Down

0 comments on commit a287456

Please sign in to comment.