Moodle  2.2.1
http://www.collinsharper.com
mathsslib_test Class Reference
Inheritance diagram for mathsslib_test:
Collaboration diagram for mathsslib_test:

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')

Detailed Description

Unit tests of mathslib wrapper and underlying EvalMath library.

Author:
Petr Skoda (skodak)
Version:
Id:
testmathslib.php,v 1.13 2011/07/01 22:24:42 moodlerobot Exp

Definition at line 28 of file testmathslib.php.


Member Function Documentation

Tests the basic formula evaluation

Definition at line 35 of file testmathslib.php.

Here is the call graph for this function:

Tests the spreadsheet emulation function in formula

Definition at line 65 of file testmathslib.php.

Here is the call graph for this function:

Tests the changed params

Definition at line 53 of file testmathslib.php.

Here is the call graph for this function:

Tests some slightly more complex expressions

Definition at line 121 of file testmathslib.php.

Here is the call graph for this function:

Tests the min and max functions

Definition at line 85 of file testmathslib.php.

Here is the call graph for this function:

Tests some slightly more complex expressions

Definition at line 106 of file testmathslib.php.

Here is the call graph for this function:

Tests the formula params

Definition at line 44 of file testmathslib.php.

Here is the call graph for this function:

Tests special chars

Definition at line 97 of file testmathslib.php.

Here is the call graph for this function:

Definition at line 71 of file testmathslib.php.

Here is the call graph for this function:

Definition at line 151 of file testmathslib.php.

Here is the call graph for this function:

Definition at line 208 of file testmathslib.php.

Here is the call graph for this function:


Field Documentation

$includecoverage = array('lib/mathslib.php') [static]

Definition at line 30 of file testmathslib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations