diff --git a/tests/Unit/Math/PrimeFieldTest.php b/tests/Unit/Math/PrimeFieldTest.php index 0201f29c..a5ffaff4 100644 --- a/tests/Unit/Math/PrimeFieldTest.php +++ b/tests/Unit/Math/PrimeFieldTest.php @@ -18,7 +18,7 @@ class PrimeFieldTest extends PhpseclibTestCase $num = new PrimeField($p); $num2 = $num->newInteger($a); - echo $num2->squareRoot(); + $num2->squareRoot(); } public function testPrimeFieldWithPrimeNumbers() @@ -29,7 +29,7 @@ class PrimeFieldTest extends PhpseclibTestCase $num = new PrimeField($p); $num2 = $num->newInteger($a); - echo $num2->squareRoot(); + $this->assertFalse($num2->squareRoot()); } /**