()
| 296 | |
| 297 | #[test] |
| 298 | fn point_outside_polygon() { |
| 299 | let poly = square(0.0, 10.0); |
| 300 | let pt = Geometry::point(20.0, 20.0); |
| 301 | let result = st_intersection(&poly, &pt); |
| 302 | if let Geometry::GeometryCollection { geometries } = &result { |
| 303 | assert!(geometries.is_empty()); |
| 304 | } |
| 305 | } |
| 306 | |
| 307 | #[test] |
| 308 | fn identical_points() { |
nothing calls this directly
no test coverage detected