()
| 279 | |
| 280 | #[test] |
| 281 | fn geometry_collection_validates_all() { |
| 282 | let gc = Geometry::GeometryCollection { |
| 283 | geometries: vec![ |
| 284 | Geometry::point(0.0, 0.0), |
| 285 | Geometry::LineString { |
| 286 | coordinates: vec![[0.0, 0.0]], |
| 287 | }, // invalid |
| 288 | ], |
| 289 | }; |
| 290 | let issues = validate_geometry(&gc); |
| 291 | assert!(!issues.is_empty()); |
| 292 | } |
| 293 | } |
nothing calls this directly
no test coverage detected