17 if (defined(
'ILIAS_PHPUNIT_CONTEXT'))
19 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
20 ilUnitUtil::performInitialisation();
24 chdir( dirname( __FILE__ ) );
32 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
38 $this->assertInstanceOf(
'ASS_AnswerMultipleResponse', $instance);
44 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
49 $instance->setPointsUnchecked($expected);
50 $actual = $instance->getPointsUnchecked();
53 $this->assertEquals($expected, $actual);
59 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
64 $instance->setPointsUnchecked(
'Günther');
65 $actual = $instance->getPointsUnchecked();
68 $this->assertEquals($expected, $actual);
74 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php';
79 $instance->setPointsChecked($expected);
80 $actual = $instance->getPointsChecked();
83 $this->assertEquals($expected, $actual);