| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function testGivenATooLowLatitudeAnExceptionIsThrown(): void |
||
| 24 | { |
||
| 25 | $this->expectException(\InvalidArgumentException::class); |
||
| 26 | $this->expectExceptionMessage("Latitude must be a float number between -90.00 and 90.00."); |
||
| 27 | |||
| 28 | // Arrange |
||
| 29 | $latitude = -95.00; |
||
| 30 | |||
| 31 | // Act |
||
| 32 | CoordinatesLatitude::fromValue($latitude); |
||
| 33 | } |
||
| 47 |