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 10
static public setUpBeforeClass()

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

Parameters

$x
$base

at line 21
public testConstructorBase2()

at line 27
public testConstructorBase10()

at line 32
public testConstructorBase16()

at line 40
public testToBytes()

at line 45
public testToBytesTwosCompliment()

at line 50
public testToHex()

at line 55
public testToBits()

at line 60
public testAdd()

at line 75
public testSubtract()

at line 82
public testMultiply()

at line 97
public testDivide()

at line 124
public testModPow()

at line 134
public testModInverse()

at line 147
public testExtendedGCD()

at line 158
public testGCD()

at line 165
public testAbs()

at line 174
public testEquals()

at line 183
public testCompare()

at line 206
public testBitwiseAND()

at line 215
public testBitwiseOR()

at line 224
public testBitwiseXOR()

at line 245
public testBitwiseNOT()

at line 258
public testBitwiseLeftShift()

at line 266
public testBitwiseRightShift()

at line 278
public testSerializable()

at line 290
public testClone()

at line 302
public testRandomTwoArgument()

at line 314
public testRandomOneArgument()

at line 333
public testDiffieHellmanKeyAgreement()

at line 398
public testDebugInfo()

at line 409
public testSlidingWindow()

at line 420
public test48ToHex()

at line 426
public testZeroBase10()

at line 435
public testNegativePrecision()