()
| 288 | |
| 289 | #[test] |
| 290 | fn point_inside_polygon() { |
| 291 | let poly = square(0.0, 10.0); |
| 292 | let pt = Geometry::point(5.0, 5.0); |
| 293 | let result = st_intersection(&poly, &pt); |
| 294 | assert_eq!(result.geometry_type(), "Point"); |
| 295 | } |
| 296 | |
| 297 | #[test] |
| 298 | fn point_outside_polygon() { |
nothing calls this directly
no test coverage detected