phpseclib API Documentation
Class

Unit_Math_BigInteger_TestCase

abstract class Unit_Math_BigInteger_TestCase extends PhpseclibTestCase

Methods

tearDown()

from PhpseclibTestCase
static  setUpBeforeClass()

getInstance($x, $base = 10)

testConstructorBase2()

testConstructorBase10()

testConstructorBase16()

testToBytes()

testToBytesTwosCompliment()

testToHex()

testToBits()

testAdd()

testSubtract()

testMultiply()

testDivide()

testModPow()

testModInverse()

testExtendedGCD()

testGCD()

testAbs()

testEquals()

testCompare()

testBitwiseAND()

testBitwiseOR()

testBitwiseXOR()

testBitwiseNOT()

testBitwiseLeftShift()

testBitwiseRightShift()

testSerializable()

testClone()

testRandomTwoArgument()

testRandomOneArgument()

testDiffieHellmanKeyAgreement()

testDebugInfo()

testSlidingWindow()

test48ToHex()

testZeroBase10()

testNegativePrecision()

Details

in PhpseclibTestCase at line 12
public tearDown()

at line 12
static public setUpBeforeClass()

at line 19
public getInstance($x, $base = 10)

Parameters

$x
$base

at line 24
public testConstructorBase2()

at line 30
public testConstructorBase10()

at line 35
public testConstructorBase16()

at line 43
public testToBytes()

at line 48
public testToBytesTwosCompliment()

at line 53
public testToHex()

at line 58
public testToBits()

at line 63
public testAdd()

at line 78
public testSubtract()

at line 85
public testMultiply()

at line 100
public testDivide()

at line 127
public testModPow()

at line 137
public testModInverse()

at line 150
public testExtendedGCD()

at line 161
public testGCD()

at line 168
public testAbs()

at line 177
public testEquals()

at line 186
public testCompare()

at line 209
public testBitwiseAND()

at line 218
public testBitwiseOR()

at line 227
public testBitwiseXOR()

at line 248
public testBitwiseNOT()

at line 261
public testBitwiseLeftShift()

at line 269
public testBitwiseRightShift()

at line 281
public testSerializable()

at line 293
public testClone()

at line 305
public testRandomTwoArgument()

at line 317
public testRandomOneArgument()

at line 336
public testDiffieHellmanKeyAgreement()

at line 401
public testDebugInfo()

at line 412
public testSlidingWindow()

at line 423
public test48ToHex()

at line 429
public testZeroBase10()

at line 438
public testNegativePrecision()