1
0
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:
terrafrost 2019-05-26 15:21:27 -05:00
parent 1e3f1d3a38
commit 50d6c8aafd

View File

@ -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');
}
}