| @@ 64-71 (lines=8) @@ | ||
| 61 | /** |
|
| 62 | * @throws \OutOfRangeException |
|
| 63 | */ |
|
| 64 | public function testSetAltitude1(): void |
|
| 65 | { |
|
| 66 | $this->expectException(\OutOfRangeException::class); |
|
| 67 | $this->expectExceptionMessage('The altitude must be on [-100000.00, 42849672.95].'); |
|
| 68 | ||
| 69 | $rdata = new LOC(); |
|
| 70 | $rdata->setAltitude(-100001); |
|
| 71 | } |
|
| 72 | ||
| 73 | /** |
|
| 74 | * @throws \OutOfRangeException |
|
| @@ 96-103 (lines=8) @@ | ||
| 93 | /** |
|
| 94 | * @thows \OutOfRangeException |
|
| 95 | */ |
|
| 96 | public function testSetSize1(): void |
|
| 97 | { |
|
| 98 | $this->expectException(\OutOfRangeException::class); |
|
| 99 | $this->expectExceptionMessage('The size must be on [0, 9e9].'); |
|
| 100 | ||
| 101 | $rdata = new LOC(); |
|
| 102 | $rdata->setSize(-1); |
|
| 103 | } |
|
| 104 | ||
| 105 | /** |
|
| 106 | * @throws \OutOfRangeException |
|
| @@ 128-135 (lines=8) @@ | ||
| 125 | /** |
|
| 126 | * @throws \OutOfRangeException |
|
| 127 | */ |
|
| 128 | public function testSetVerticalPrecision1(): void |
|
| 129 | { |
|
| 130 | $this->expectException(\OutOfRangeException::class); |
|
| 131 | $this->expectExceptionMessage('The vertical precision must be on [0, 9e9].'); |
|
| 132 | ||
| 133 | $rdata = new LOC(); |
|
| 134 | $rdata->setVerticalPrecision(-1); |
|
| 135 | } |
|
| 136 | ||
| 137 | /** |
|
| 138 | * @throws \OutOfRangeException |
|
| @@ 152-159 (lines=8) @@ | ||
| 149 | /** |
|
| 150 | * @throws \OutOfRangeException |
|
| 151 | */ |
|
| 152 | public function testSetHorizontalPrecision1(): void |
|
| 153 | { |
|
| 154 | $this->expectException(\OutOfRangeException::class); |
|
| 155 | $this->expectExceptionMessage('The horizontal precision must be on [0, 9e9].'); |
|
| 156 | ||
| 157 | $rdata = new LOC(); |
|
| 158 | $rdata->setHorizontalPrecision(-1); |
|
| 159 | } |
|
| 160 | ||
| 161 | /** |
|
| 162 | * @throws \OutOfRangeException |
|