30 protected function setUp(): void
32 chdir(dirname(__FILE__));
39 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
45 $this->assertInstanceOf(
'ASS_AnswerMultipleResponse', $instance);
51 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
56 $instance->setPointsUnchecked($expected);
57 $actual = $instance->getPointsUnchecked();
60 $this->assertEquals($expected, $actual);
66 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
71 $instance->setPointsUnchecked(
'Günther');
72 $actual = $instance->getPointsUnchecked();
75 $this->assertEquals($expected, $actual);
81 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
86 $instance->setPointsChecked($expected);
87 $actual = $instance->getPointsChecked();
90 $this->assertEquals($expected, $actual);
test_setGetPointsUnchecked_InvalidPointsBecomeZero()
test_setGetPointsUnchecked()
test_instantiateObjectSimple()
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_setGetPointsChecked()