mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-04 02:28:06 +01:00
Tests/BigInteger: make unit test do == vs ===
This commit is contained in:
parent
0b3cc98084
commit
9e77203746
@ -31,7 +31,7 @@ class PHP32Test extends TestCase
|
|||||||
$x = new PHP32('FFFFFFFFFFFFFFFFC90FDA', 16);
|
$x = new PHP32('FFFFFFFFFFFFFFFFC90FDA', 16);
|
||||||
$y = new PHP32("$x");
|
$y = new PHP32("$x");
|
||||||
|
|
||||||
$this->assertSame(self::getVar($x, 'value'), self::getVar($y, 'value'));
|
$this->assertEquals(self::getVar($x, 'value'), self::getVar($y, 'value'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getStaticClass()
|
public static function getStaticClass()
|
||||||
|
Loading…
Reference in New Issue
Block a user