mirror of
https://github.com/danog/phpseclib.git
synced 2024-11-30 04:39:21 +01:00
Tests/BigInteger: test for new BigInteger('-0')
This commit is contained in:
parent
1e3f1d3a38
commit
50d6c8aafd
@ -465,5 +465,8 @@ abstract class Unit_Math_BigInteger_TestCase extends PhpseclibTestCase
|
||||
{
|
||||
$temp = $this->getInstance('00');
|
||||
$this->assertSame($temp->toString(), '0');
|
||||
|
||||
$temp = $this->getInstance('-0');
|
||||
$this->assertSame($temp->toString(), '0');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user