Use [31398, 31468] for prime gap test

This commit is contained in:
Jeffrey Walton 2017-05-08 17:03:06 -04:00
parent 7421bd2055
commit ba8882db39
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -2152,8 +2152,8 @@ bool TestIntegerBitops()
// Integer is missing a couple of tests...
try {
// All in range [90, 96] are composite
Integer x = Integer(GlobalRNG(), 90, 96, Integer::PRIME);
// A run of 71 composites; see http://en.wikipedia.org/wiki/Prime_gap
Integer x = Integer(GlobalRNG(), 31398, 31468, Integer::PRIME);
pass=false;
} catch (const Exception&) {
pass=true;