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

Public Member Functions

 setUp ()
 tearDown ()
 test_name ()
 test_can_analyse_responses ()
 test_get_random_guess_score ()
 test_get_possible_responses ()
 test_get_possible_responses_no_star ()

Static Public Attributes

static $includecoverage

Protected Member Functions

 get_test_question_data ()

Protected Attributes

 $tolerance = 0.00000001
 $qtype

Detailed Description

Unit tests for question/type/numerical/questiontype.php.

Definition at line 38 of file testquestiontype.php.


Member Function Documentation

get_test_question_data ( ) [protected]

Definition at line 55 of file testquestiontype.php.

Here is the caller graph for this function:

setUp ( )

Definition at line 47 of file testquestiontype.php.

tearDown ( )

Definition at line 51 of file testquestiontype.php.

Definition at line 88 of file testquestiontype.php.

Here is the call graph for this function:

Definition at line 97 of file testquestiontype.php.

Here is the call graph for this function:

Definition at line 109 of file testquestiontype.php.

Here is the call graph for this function:

Definition at line 92 of file testquestiontype.php.

Here is the call graph for this function:

test_name ( )

Definition at line 84 of file testquestiontype.php.

Here is the call graph for this function:


Field Documentation

$includecoverage [static]
Initial value:
 array(
        'question/type/questiontypebase.php',
        'question/type/numerical/questiontype.php'
    )

Definition at line 39 of file testquestiontype.php.

$qtype [protected]

Definition at line 45 of file testquestiontype.php.

$tolerance = 0.00000001 [protected]

Definition at line 44 of file testquestiontype.php.


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