Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 36... Línea 36...
36
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
36
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
37
 *
37
 *
38
 * @covers \question_type
38
 * @covers \question_type
39
 * @covers \qtype_numerical
39
 * @covers \qtype_numerical
40
 */
40
 */
41
class question_type_test extends \advanced_testcase {
41
final class question_type_test extends \advanced_testcase {
42
    protected $tolerance = 0.00000001;
42
    protected $tolerance = 0.00000001;
43
    protected $qtype;
43
    protected $qtype;
Línea 44... Línea 44...
44
 
44
 
-
 
45
    protected function setUp(): void {
45
    protected function setUp(): void {
46
        parent::setUp();
46
        $this->qtype = new qtype_numerical();
47
        $this->qtype = new qtype_numerical();
Línea 47... Línea 48...
47
    }
48
    }
48
 
49
 
-
 
50
    protected function tearDown(): void {
49
    protected function tearDown(): void {
51
        $this->qtype = null;
Línea 50... Línea 52...
50
        $this->qtype = null;
52
        parent::tearDown();
51
    }
53
    }
52
 
54