Skip to content

Commit

Permalink
Add test for this bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelinton committed Aug 5, 2017
1 parent df37923 commit 74b99c5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tst/testbugfix/2017-08-05-algfld.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
# Algebraic Extension used to fail for finite fields of size over 256
#
gap> algexttest := function(q, i1,i2)
> f := GF(q);
> x :=Indeterminate(f,"x");
> pol := x^2+Z(q)^i1*x+Z(q)^i2;
> AlgebraicExtension(f,pol);
> end;;
gap> algexttest(1009,108,864); # from bug report
gap> algexttest(1024,1023,5); # prime under 256, field size over
gap> algexttest(65537,1,1); # prime over 2^16
gap> algexttest(3^11,1,6); # prime under 2^16, field over

0 comments on commit 74b99c5

Please sign in to comment.