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 testGivenATooHighLatitudeAnExceptionIsThrown(): void |
||
36 | { |
||
37 | $this->expectException(\InvalidArgumentException::class); |
||
38 | $this->expectExceptionMessage("Latitude must be a float number between -90.00 and 90.00."); |
||
39 | |||
40 | // Arrange |
||
41 | $latitude = +95.00; |
||
42 | |||
43 | // Act |
||
44 | CoordinatesLatitude::fromValue($latitude); |
||
45 | } |
||
47 |