Merge branch '3.0'

This commit is contained in:
terrafrost 2023-11-01 20:23:50 -05:00
commit 8714be625b

View File

@ -20,7 +20,7 @@ class PrimeFieldTest extends PhpseclibTestCase
$num = new PrimeField($p); $num = new PrimeField($p);
$num2 = $num->newInteger($a); $num2 = $num->newInteger($a);
echo $num2->squareRoot(); $num2->squareRoot();
} }
public function testPrimeFieldWithPrimeNumbers() public function testPrimeFieldWithPrimeNumbers()
@ -31,7 +31,7 @@ class PrimeFieldTest extends PhpseclibTestCase
$num = new PrimeField($p); $num = new PrimeField($p);
$num2 = $num->newInteger($a); $num2 = $num->newInteger($a);
echo $num2->squareRoot(); $this->assertFalse($num2->squareRoot());
} }
/** /**