1
0
mirror of https://github.com/danog/tgseclib.git synced 2025-01-21 21:41:14 +01:00

Tests/BigInteger: add test for conversion of 48 to signed hex

This commit is contained in:
terrafrost 2018-04-09 23:36:36 -05:00
parent ea47574317
commit 48e50fe8fa

View File

@ -397,4 +397,13 @@ abstract class Unit_Math_BigInteger_TestCase extends PhpseclibTestCase
$n = $this->getInstance(2);
$x->powMod($e, $n);
}
/**
* @group github1264
*/
public function test48ToHex()
{
$temp = $this->getInstance(48);
$this->assertSame($temp->toHex(true), '30');
}
}