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

Public Member Functions

 setUp ()
 tearDown ()
 test_normalize_grades ()
 test_normalize_grades_max_equals_min ()
 test_average_assessment_same_weights ()
 test_average_assessment_different_weights ()
 test_average_assessment_noweight ()
 test_weighted_variance ()
 test_assessments_distance_zero ()
 test_assessments_distance_equals ()

Protected Attributes

 $realDB
 $workshop
 $evaluator

Detailed Description

Definition at line 56 of file testlib.php.


Member Function Documentation

setUp ( )

Setup testing environment

Definition at line 70 of file testlib.php.

tearDown ( )

Definition at line 83 of file testlib.php.

Definition at line 241 of file testlib.php.

Here is the call graph for this function:

Definition at line 228 of file testlib.php.

Here is the call graph for this function:

Definition at line 156 of file testlib.php.

Here is the call graph for this function:

Definition at line 180 of file testlib.php.

Here is the call graph for this function:

Definition at line 137 of file testlib.php.

Here is the call graph for this function:

Definition at line 91 of file testlib.php.

Here is the call graph for this function:

Definition at line 121 of file testlib.php.

Here is the call graph for this function:

Definition at line 197 of file testlib.php.

Here is the call graph for this function:


Field Documentation

$evaluator [protected]

instance of the grading evaluator being tested

Definition at line 65 of file testlib.php.

$realDB [protected]

real database

Definition at line 59 of file testlib.php.

$workshop [protected]

workshop instance emulation

Definition at line 62 of file testlib.php.


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