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:
parent
ea47574317
commit
48e50fe8fa
@ -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');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user