()
| 320 | |
| 321 | #[test] |
| 322 | fn point_to_polygon_outside() { |
| 323 | let d = st_distance(&Geometry::point(2.0, 0.5), &square()); |
| 324 | // 1 degree longitude at equator ≈ 111 km. |
| 325 | assert!(d > 100_000.0, "got {d}"); |
| 326 | } |
| 327 | |
| 328 | #[test] |
| 329 | fn point_to_linestring() { |
nothing calls this directly
no test coverage detected