|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| test__basic () | |
| test__params () | |
| test__changing_params () | |
| test__calc_function () | |
| test_other_functions () | |
| test__minmax_function () | |
| test__specialchars () | |
| test__more_complex_expressions () | |
| test__error_handling () | |
| test_rounding_function () | |
| test_scientific_notation () | |
Static Public Attributes | |
| static | $includecoverage = array('lib/mathslib.php') |
Unit tests of mathslib wrapper and underlying EvalMath library.
Definition at line 28 of file testmathslib.php.
| test__basic | ( | ) |
Tests the basic formula evaluation
Definition at line 35 of file testmathslib.php.

Tests the spreadsheet emulation function in formula
Definition at line 65 of file testmathslib.php.

Tests the changed params
Definition at line 53 of file testmathslib.php.

Tests some slightly more complex expressions
Definition at line 121 of file testmathslib.php.

Tests the min and max functions
Definition at line 85 of file testmathslib.php.

Tests some slightly more complex expressions
Definition at line 106 of file testmathslib.php.

| test__params | ( | ) |
Tests the formula params
Definition at line 44 of file testmathslib.php.

Tests special chars
Definition at line 97 of file testmathslib.php.

$includecoverage = array('lib/mathslib.php') [static] |
Definition at line 30 of file testmathslib.php.