()
| 284 | |
| 285 | #[test] |
| 286 | fn ring_edges_closed() { |
| 287 | let ring = vec![ |
| 288 | [0.0, 0.0], |
| 289 | [10.0, 0.0], |
| 290 | [10.0, 10.0], |
| 291 | [0.0, 10.0], |
| 292 | [0.0, 0.0], |
| 293 | ]; |
| 294 | let edges = ring_edges(&ring); |
| 295 | assert_eq!(edges.len(), 4); |
| 296 | } |
| 297 | } |
nothing calls this directly
no test coverage detected