37 if (defined(
'ILIAS_PHPUNIT_CONTEXT'))
39 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
40 ilUnitUtil::performInitialisation();
44 chdir( dirname( __FILE__ ) );
52 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
58 $this->assertInstanceOf(
'ASS_AnswerMultipleResponse', $instance);
64 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
69 $instance->setPointsUnchecked($expected);
70 $actual = $instance->getPointsUnchecked();
73 $this->assertEquals($expected, $actual);
79 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
84 $instance->setPointsUnchecked(
'Günther');
85 $actual = $instance->getPointsUnchecked();
88 $this->assertEquals($expected, $actual);
94 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
99 $instance->setPointsChecked($expected);
100 $actual = $instance->getPointsChecked();
103 $this->assertEquals($expected, $actual);