|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Inheritance diagram for ilMathTest:
Collaboration diagram for ilMathTest:Public Member Functions | |
| testAdd ($a, $b, $result, $scale) | |
| @dataProvider addData More... | |
| testSub ($a, $b, $result, $scale) | |
| @dataProvider subData More... | |
| testMul ($a, $b, $result, $scale) | |
| @dataProvider mulData More... | |
| testDiv ($a, $b, $result, $scale) | |
| @dataProvider divData More... | |
| testSqrt ($a, $result, $scale) | |
| @dataProvider sqrtData More... | |
| testPow ($a, $b, $result, $scale) | |
| @dataProvider powData More... | |
| testMod ($a, $b, $result) | |
| @dataProvider modData More... | |
| testEquals ($a, $b, $result, $scale) | |
| @dataProvider equalsData More... | |
| testRound ($a, $result, $scale) | |
| @dataProvider roundData More... | |
| testGcd ($a, $b, $result) | |
| @dataProvider gcdData More... | |
| testCalculation ($formula, $result, $scale) | |
| @dataProvider calcData More... | |
| addData () | |
| subData () | |
| mulData () | |
| divData () | |
| modData () | |
| sqrtData () | |
| powData () | |
| equalsData () | |
| roundData () | |
| gcdData () | |
| calcData () | |
Data Fields | |
| const | DEFAULT_SCALE = '50' |
Protected Member Functions | |
| setUp () | |
Protected Attributes | |
| $eval_math | |
Definition at line 8 of file ilMathTest.php.
| ilMathTest::addData | ( | ) |
Definition at line 121 of file ilMathTest.php.
References DEFAULT_SCALE.
| ilMathTest::calcData | ( | ) |
Definition at line 230 of file ilMathTest.php.
References DEFAULT_SCALE.
| ilMathTest::divData | ( | ) |
| ilMathTest::equalsData | ( | ) |
| ilMathTest::gcdData | ( | ) |
Definition at line 219 of file ilMathTest.php.
| ilMathTest::modData | ( | ) |
Definition at line 161 of file ilMathTest.php.
| ilMathTest::mulData | ( | ) |
| ilMathTest::powData | ( | ) |
Definition at line 187 of file ilMathTest.php.
References DEFAULT_SCALE.
| ilMathTest::roundData | ( | ) |
Definition at line 208 of file ilMathTest.php.
|
protected |
Definition at line 20 of file ilMathTest.php.
| ilMathTest::sqrtData | ( | ) |
Definition at line 171 of file ilMathTest.php.
References DEFAULT_SCALE.
| ilMathTest::subData | ( | ) |
| ilMathTest::testAdd | ( | $a, | |
| $b, | |||
| $result, | |||
| $scale | |||
| ) |
@dataProvider addData
Definition at line 31 of file ilMathTest.php.
References $result, and ilMath\_add().
Here is the call graph for this function:| ilMathTest::testCalculation | ( | $formula, | |
| $result, | |||
| $scale | |||
| ) |
@dataProvider calcData
Definition at line 111 of file ilMathTest.php.
References $result, and ilMath\_round().
Here is the call graph for this function:| ilMathTest::testDiv | ( | $a, | |
| $b, | |||
| $result, | |||
| $scale | |||
| ) |
@dataProvider divData
Definition at line 55 of file ilMathTest.php.
References $result, and ilMath\_div().
Here is the call graph for this function:| ilMathTest::testEquals | ( | $a, | |
| $b, | |||
| $result, | |||
| $scale | |||
| ) |
@dataProvider equalsData
Definition at line 87 of file ilMathTest.php.
References $result, and ilMath\_equals().
Here is the call graph for this function:| ilMathTest::testGcd | ( | $a, | |
| $b, | |||
| $result | |||
| ) |
@dataProvider gcdData
Definition at line 103 of file ilMathTest.php.
References $result, and ilMath\getGreatestCommonDivisor().
Here is the call graph for this function:| ilMathTest::testMod | ( | $a, | |
| $b, | |||
| $result | |||
| ) |
@dataProvider modData
Definition at line 79 of file ilMathTest.php.
References $result, and ilMath\_mod().
Here is the call graph for this function:| ilMathTest::testMul | ( | $a, | |
| $b, | |||
| $result, | |||
| $scale | |||
| ) |
@dataProvider mulData
Definition at line 47 of file ilMathTest.php.
References $result, and ilMath\_mul().
Here is the call graph for this function:| ilMathTest::testPow | ( | $a, | |
| $b, | |||
| $result, | |||
| $scale | |||
| ) |
@dataProvider powData
Definition at line 71 of file ilMathTest.php.
References $result, and ilMath\_pow().
Here is the call graph for this function:| ilMathTest::testRound | ( | $a, | |
| $result, | |||
| $scale | |||
| ) |
@dataProvider roundData
Definition at line 95 of file ilMathTest.php.
References $result, and ilMath\_round().
Here is the call graph for this function:| ilMathTest::testSqrt | ( | $a, | |
| $result, | |||
| $scale | |||
| ) |
@dataProvider sqrtData
Definition at line 63 of file ilMathTest.php.
References $result, and ilMath\_sqrt().
Here is the call graph for this function:| ilMathTest::testSub | ( | $a, | |
| $b, | |||
| $result, | |||
| $scale | |||
| ) |
@dataProvider subData
Definition at line 39 of file ilMathTest.php.
References $result, and ilMath\_sub().
Here is the call graph for this function:
|
protected |
Definition at line 15 of file ilMathTest.php.
| const ilMathTest::DEFAULT_SCALE = '50' |
Definition at line 10 of file ilMathTest.php.
Referenced by addData(), calcData(), divData(), equalsData(), mulData(), powData(), sqrtData(), and subData().