()
| 265 | |
| 266 | #[test] |
| 267 | fn clockwise_exterior_warned() { |
| 268 | // Clockwise exterior ring. |
| 269 | let geom = Geometry::polygon(vec![vec![ |
| 270 | [0.0, 0.0], |
| 271 | [0.0, 10.0], |
| 272 | [10.0, 10.0], |
| 273 | [10.0, 0.0], |
| 274 | [0.0, 0.0], |
| 275 | ]]); |
| 276 | let issues = validate_geometry(&geom); |
| 277 | assert!(issues.iter().any(|i| i.contains("clockwise"))); |
| 278 | } |
| 279 | |
| 280 | #[test] |
| 281 | fn geometry_collection_validates_all() { |
nothing calls this directly
no test coverage detected