1 | <?php |
||
9 | class IntegerTypeTest extends TypeTestBase { |
||
10 | |||
11 | public function testPhpInteger() { |
||
12 | $this->assertIntegerValidation( 42, 42 ); |
||
13 | } |
||
14 | |||
15 | private function assertIntegerValidation( $expected, $input, array $definitionExtras = [] ) { |
||
33 | |||
34 | public function testPhpIntegerDefaultsWhenExceedingUpperBound() { |
||
37 | |||
38 | public function testPhpIntegerDefault() { |
||
41 | |||
42 | public function testLowerBound() { |
||
45 | |||
46 | public function testNegativeWithoutDefault() { |
||
49 | |||
50 | public function testNegativeWithDefault() { |
||
53 | |||
54 | public function testPhpIntegerWithDefault() { |
||
57 | |||
58 | public function testSmwOffsetDefinition() { |
||
69 | |||
70 | } |
||
71 |