Skip to content

Commit

Permalink
Fix tests for older GAP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Mar 23, 2024
1 parent 20cf54e commit 9af9748
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tst/bugfix.tst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ Error, hash function not applicable to key of type integer
# verify equal vectors either have equal hashes, or at least one gives fail
# (here for 8 bit vector rep)
gap> v:=[1..100]*Z(5);;
gap> w:=CopyToVectorRep(v,5);;
gap> w:=[1..100]*Z(5);;
gap> ConvertToVectorRep(w,5);;
gap> v = w;
true
gap> IsPlistRep(v);
Expand All @@ -42,7 +43,8 @@ gap> hf.func(v, hf.data);

# same check for GF(2)
gap> v:=[1..100]*Z(2);;
gap> w:=CopyToVectorRep(v,2);;
gap> w:=[1..100]*Z(2);;
gap> ConvertToVectorRep(w,2);;
gap> v = w;
true
gap> IsPlistRep(v);
Expand Down

0 comments on commit 9af9748

Please sign in to comment.