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


Definition at line 63 of file testallocator.php.
| setUp | ( | ) |
Definition at line 71 of file testallocator.php.
| tearDown | ( | ) |
Definition at line 80 of file testallocator.php.
Aggregates assessment info per author and per reviewer
Definition at line 198 of file testallocator.php.

Trivial case
Definition at line 215 of file testallocator.php.

Filter new assessments so they do not contain existing
Definition at line 303 of file testallocator.php.

If there is a single element with the lowest workload, it should be chosen
Definition at line 228 of file testallocator.php.

If there are no elements available, must return false
Definition at line 240 of file testallocator.php.

If there are several elements with the lowest workload, one of them should be chosen randomly
Definition at line 252 of file testallocator.php.

Floats should be rounded before they are compared
This should test
Definition at line 280 of file testallocator.php.

$allocator [protected] |
allocator instance
Definition at line 69 of file testallocator.php.
$workshop [protected] |
workshop instance emulation
Definition at line 66 of file testallocator.php.