Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 103... Línea 103...
103
 */
103
 */
104
class statistics_test extends \basic_testcase {
104
class statistics_test extends \basic_testcase {
105
    /** @var testable_all_calculated_for_qubaid_condition object created to test class. */
105
    /** @var testable_all_calculated_for_qubaid_condition object created to test class. */
106
    protected $qstats;
106
    protected $qstats;
Línea 107... Línea 107...
107
 
107
 
108
    public function test_qstats() {
108
    public function test_qstats(): void {
109
        global $CFG;
109
        global $CFG;
110
        // Data is taken from randomly generated attempts data generated by
110
        // Data is taken from randomly generated attempts data generated by
111
        // contrib/tools/generators/qagenerator/.
111
        // contrib/tools/generators/qagenerator/.
112
        $steps = $this->get_records_from_csv(__DIR__.'/fixtures/mdl_question_states.csv');
112
        $steps = $this->get_records_from_csv(__DIR__.'/fixtures/mdl_question_states.csv');