PHP Class MathPHP\AlgebraTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: markrogoyski/math-php

Méthodes publiques

Méthode Description
dataProviderForFactors ( )
dataProviderForGCD ( )
dataProviderForLCM ( )
testExtendedGCD ( integer $a, integer $b, integer $gcd, integer $alpha, integer $beta )
testFactors ( integer $x, array $factors )
testGCD ( integer $a, integer $b, integer $gcd, integer $_, integer $__ )
testLCM ( integer $a, integer $b, integer $lcm )

Method Details

dataProviderForFactors() public méthode

dataProviderForGCD() public méthode

public dataProviderForGCD ( )

dataProviderForLCM() public méthode

public dataProviderForLCM ( )

testExtendedGCD() public méthode

public testExtendedGCD ( integer $a, integer $b, integer $gcd, integer $alpha, integer $beta )
$a integer
$b integer
$gcd integer
$alpha integer
$beta integer

testFactors() public méthode

public testFactors ( integer $x, array $factors )
$x integer
$factors array

testGCD() public méthode

public testGCD ( integer $a, integer $b, integer $gcd, integer $_, integer $__ )
$a integer
$b integer
$gcd integer
$_ integer
$__ integer

testLCM() public méthode

public testLCM ( integer $a, integer $b, integer $lcm )
$a integer
$b integer
$lcm integer