()
| 217 | |
| 218 | #[test] |
| 219 | fn too_few_points() { |
| 220 | let geom = Geometry::polygon(vec![vec![[0.0, 0.0], [10.0, 0.0], [10.0, 10.0]]]); |
| 221 | let issues = validate_geometry(&geom); |
| 222 | assert!(issues.iter().any(|i| i.contains("minimum is 4"))); |
| 223 | } |
| 224 | |
| 225 | #[test] |
| 226 | fn self_intersecting_ring() { |
nothing calls this directly
no test coverage detected