30 protected function setUp(): void
32 chdir(__DIR__ .
'/../../../../');
39 $this->assertInstanceOf(assNumericRange::class, $instance);
47 $instance->setLowerLimit($expected);
48 $actual = $instance->getLowerLimit();
50 $this->assertEquals($expected, $actual);
58 $instance->setUpperLimit($expected);
59 $actual = $instance->getUpperLimit();
61 $this->assertEquals($expected, $actual);
69 $instance->setOrder($expected);
70 $actual = $instance->getOrder();
72 $this->assertEquals($expected, $actual);
80 $instance->setPoints($expected);
81 $actual = $instance->getPoints();
83 $this->assertEquals($expected, $actual);
89 $instance->setLowerLimit(1.00);
90 $instance->setUpperLimit(10.00);
93 $actual = $instance->contains(5.00);
95 $this->assertEquals($expected, $actual);
101 $instance->setLowerLimit(1.00);
102 $instance->setUpperLimit(10.00);
105 $actual = $instance->contains(15.00);
107 $this->assertEquals($expected, $actual);
113 $instance->setLowerLimit(1.00);
114 $instance->setUpperLimit(10.00);
117 $actual = $instance->contains(
'Günther');
119 $this->assertEquals($expected, $actual);
test_setGetOrder_shouldReturnUnchangedOrder()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
test_contains_shouldReturnFalseIfValueIsHokum()
test_contains_shouldReturnTrueIfValueIsContained()
test_setGetLowerLimit_shouldReturnUnchangedLowerLimit()
test_contains_shouldReturnFalseIfValueIsNotContained()
test_setPoints_shouldReturnUnchangedPoints()
test_instantiateObject_shouldReturnInstance()
test_setGetUpperLimit_shouldReturnUnchangedUpperLimit()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...