30 protected function setUp(): void
32 chdir(dirname(__FILE__));
41 $this->assertInstanceOf(
'assNumericRange', $instance);
50 $instance->setLowerLimit($expected);
51 $actual = $instance->getLowerLimit();
54 $this->assertEquals($expected, $actual);
63 $instance->setUpperLimit($expected);
64 $actual = $instance->getUpperLimit();
67 $this->assertEquals($expected, $actual);
76 $instance->setOrder($expected);
77 $actual = $instance->getOrder();
80 $this->assertEquals($expected, $actual);
89 $instance->setPoints($expected);
90 $actual = $instance->getPoints();
93 $this->assertEquals($expected, $actual);
99 $instance->setLowerLimit(1.00);
100 $instance->setUpperLimit(10.00);
104 $actual = $instance->contains(5.00);
107 $this->assertEquals($expected, $actual);
113 $instance->setLowerLimit(1.00);
114 $instance->setUpperLimit(10.00);
118 $actual = $instance->contains(15.00);
121 $this->assertEquals($expected, $actual);
127 $instance->setLowerLimit(1.00);
128 $instance->setUpperLimit(10.00);
132 $actual = $instance->contains(
'Günther');
135 $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...