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.assAnswerMatchingPair.php';
58 $this->assertInstanceOf(
'assAnswerMatchingPair', $instance);
64 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMatchingPair.php';
69 $instance->term = $expected;
70 $actual = $instance->term;
73 $this->assertEquals($expected, $actual);
79 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMatchingPair.php';
81 $expected =
'Definition';
84 $instance->definition = $expected;
85 $actual = $instance->definition;
88 $this->assertEquals($expected, $actual);
94 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMatchingPair.php';
96 $expected =
'Definition';
99 $instance->points = $expected;
100 $actual = $instance->points;
103 $this->assertEquals($expected, $actual);
109 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMatchingPair.php';
114 $instance->hokum =
'Hokum Value';
115 $actual = $instance->hokum;
118 $this->assertEquals($expected, $actual);