30     protected function setUp(): void
    32         chdir(dirname(__FILE__));
    42         $this->assertNotNull($instance);
    51         $instance->setLowerBound($expected);
    52         $actual = $instance->getLowerBound();
    55         $this->assertEquals($expected, $actual);
    64         $instance->setLowerBound(4);
    65         $actual = $instance->getLowerBound();
    68         $this->assertEquals($expected, $actual);
    77         $instance->setLowerBound(
'test');
    78         $actual = $instance->getLowerBound();
    81         $this->assertEquals($expected, $actual);
    90         $instance->setUpperBound($expected);
    91         $actual = $instance->getUpperBound();
    94         $this->assertEquals($expected, $actual);
   103         $instance->setUpperBound(2);
   104         $actual = $instance->getUpperBound();
   107         $this->assertEquals($expected, $actual);
   116         $instance->setUpperBound(
'test');
   117         $actual = $instance->getUpperBound();
   120         $this->assertEquals($expected, $actual);
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
test_setGetUpperBound_nonNumericShouldSetAnswertext()
 
test_constructorShouldReturnInstance()
 
test_setGetLowerBound_nonNumericShouldSetAnswertext()
 
test_setGetUpperBound_smallerThanAnswerShouldSetAnswertext()
 
test_setGetLowerBond_GreaterThanAnswerShouldSetAnswertext()
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...