Merge branch '3.0'
This commit is contained in:
commit
8714be625b
|
@ -20,7 +20,7 @@ class PrimeFieldTest extends PhpseclibTestCase
|
|||
$num = new PrimeField($p);
|
||||
$num2 = $num->newInteger($a);
|
||||
|
||||
echo $num2->squareRoot();
|
||||
$num2->squareRoot();
|
||||
}
|
||||
|
||||
public function testPrimeFieldWithPrimeNumbers()
|
||||
|
@ -31,7 +31,7 @@ class PrimeFieldTest extends PhpseclibTestCase
|
|||
$num = new PrimeField($p);
|
||||
$num2 = $num->newInteger($a);
|
||||
|
||||
echo $num2->squareRoot();
|
||||
$this->assertFalse($num2->squareRoot());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue