Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public function testGivenAValidLongitudeAValidVOIsReturned(): void |
||
11 | { |
||
12 | // Arrange |
||
13 | $longitude = 1.7200366092330326; |
||
14 | |||
15 | // Act |
||
16 | $longitudeVO = CoordinatesLongitude::fromValue($longitude); |
||
17 | |||
18 | // Assert |
||
19 | $this->assertInstanceOf(CoordinatesLongitude::class, $longitudeVO); |
||
20 | $this->assertEquals($longitude, $longitudeVO->value()); |
||
21 | } |
||
47 |