19declare(strict_types=1);
21use PHPUnit\Framework\TestCase;
36 protected function setUp(): void
38 chdir(dirname(__FILE__));
39 chdir(
'../../../../');
41 $this->ass_mark =
new Mark();
60 "Get/Set on shortName failed, in/out not matching."
80 "Get/Set on passed failed, in/out not matching."
90 $expected =
"Esther The Tester";
100 "Get/Set on officialName failed, in/out not matching."
120 "Get/Set on minimumLevel failed, in/out not matching."
147 "Set low on minimumLevel failed, in/out not matching."
169 "Set low on minimumLevel failed, in/out not matching."
180 $this->expectException(Exception::class);
A class defining marks for assessment test objects.
withOfficialName(string $official_name)
withShortName(string $short_name)
withMinimumLevel(float $minimum_level)
testWithMinimumLevel_TooLow()
Set test on member minimumLevel using accessor methods with a too low level.
testGetWithMinimumLevel()
Basic Get/Set test on member minimumLevel using accessor methods.
testWithMinimumLevel_Low()
Set test on member minimumLevel using accessor methods with a very low level.
testGetWithShortName()
Basic Get/Set test on member short name using accessor methods.
testGetWithOfficialName()
Basic Get/Set test on member officialName using accessor methods.
testGetWithPassed()
Basic Get/Set test on member passed using accessor methods.
testWithMinimumLevel_High()
Set test on member minimumLevel using accessor method with a high level.