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.assAnswerMatchingPair.php';
38 $this->assertInstanceOf(
'assAnswerMatchingPair', $instance);
44 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMatchingPair.php';
49 $instance->term = $expected;
50 $actual = $instance->term;
53 $this->assertEquals($expected, $actual);
59 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMatchingPair.php';
61 $expected =
'Definition';
64 $instance->definition = $expected;
65 $actual = $instance->definition;
68 $this->assertEquals($expected, $actual);
74 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMatchingPair.php';
76 $expected =
'Definition';
79 $instance->points = $expected;
80 $actual = $instance->points;
83 $this->assertEquals($expected, $actual);
89 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerMatchingPair.php';
94 $instance->hokum =
'Hokum Value';
95 $actual = $instance->hokum;
98 $this->assertEquals($expected, $actual);