mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-29 04:23:34 +00:00
Merge branch '3.0'
This commit is contained in:
commit
8714be625b
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user