| Conditions | 1 |
| Paths | 1 |
| Total Lines | 28 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function testPoint() { |
||
| 26 | $objects = $this->newBuilder()->getSubObjectsFromGeoJson( |
||
| 27 | <<<'EOD' |
||
| 28 | { |
||
| 29 | "type": "FeatureCollection", |
||
| 30 | "features": [ |
||
| 31 | { |
||
| 32 | "type": "Feature", |
||
| 33 | "properties": { |
||
| 34 | "title": "Berlin", |
||
| 35 | "description": "The capital of Germany" |
||
| 36 | }, |
||
| 37 | "geometry": { |
||
| 38 | "type": "Point", |
||
| 39 | "coordinates": [ |
||
| 40 | 13.388729, |
||
| 41 | 52.516524 |
||
| 42 | ] |
||
| 43 | } |
||
| 44 | } |
||
| 45 | ] |
||
| 46 | } |
||
| 47 | EOD |
||
| 48 | |||
| 49 | ); |
||
| 50 | |||
| 51 | $this->assertSame( [], $objects ); |
||
| 52 | } |
||
| 53 | |||
| 55 |