Tests: don't do echo in unit tests
This commit is contained in:
parent
90e3b38a29
commit
ecd2512a32
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue