Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function testGivenATooHighLongitudeAnExceptionIsThrown(): void |
||
36 | { |
||
37 | $this->expectException(\InvalidArgumentException::class); |
||
38 | $this->expectExceptionMessage("Longitude must be a float number between -180.00 and 180.00."); |
||
39 | |||
40 | // Arrange |
||
41 | $longitude = +190.00; |
||
42 | |||
43 | // Act |
||
44 | CoordinatesLongitude::fromValue($longitude); |
||
45 | } |
||
47 |