1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-12-02 17:48:00 +01:00

Tests/BigInteger: re-enable primality testing in 32-bit PHP7

This commit is contained in:
terrafrost 2017-11-04 09:42:15 -05:00
parent f01cc6b099
commit 5e9c67b2d0

View File

@ -14,6 +14,7 @@ class Unit_Math_BigInteger_PHP32Test extends Unit_Math_BigInteger_TestCase
if (version_compare(PHP_VERSION, '7.0.0') < 0) {
self::markTestSkipped('32-bit integers slow things down too much on PHP 5.6');
}
PHP32::setModExpEngine('DefaultEngine');
}
@ -34,9 +35,4 @@ class Unit_Math_BigInteger_PHP32Test extends Unit_Math_BigInteger_TestCase
{
return 'phpseclib\Math\BigInteger\Engines\PHP32';
}
public function testRandomPrime()
{
self::markTestSkipped('32-bit primality testing slows things down too much');
}
}