30 protected function setUp(): void
32 chdir(dirname(__FILE__));
39 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerImagemap.php';
45 $this->assertInstanceOf(
'ASS_AnswerImagemap', $instance);
51 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerImagemap.php';
56 $instance->setCoords($expected);
57 $actual = $instance->getCoords();
60 $this->assertEquals($expected, $actual);
66 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerImagemap.php';
71 $instance->setArea($expected);
72 $actual = $instance->getArea();
75 $this->assertEquals($expected, $actual);
81 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerImagemap.php';
86 $instance->setPointsUnchecked($expected);
87 $actual = $instance->getPointsUnchecked();
90 $this->assertEquals($expected, $actual);
96 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerImagemap.php';
101 $instance->setPointsUnchecked(
'Günther');
102 $actual = $instance->getPointsUnchecked();
105 $this->assertEquals($expected, $actual);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
test_setGetPointsUnchecked()
test_instantiateObjectSimple()
test_setGetPointsUnchecked_shouldNullifyOnNonNumericPoints()