(w: f64, h: f64)
| 244 | use super::*; |
| 245 | |
| 246 | fn rect_polygon(w: f64, h: f64) -> Vec<Waypoint> { |
| 247 | vec![ |
| 248 | Waypoint { x: 0.0, y: 0.0, theta: None }, |
| 249 | Waypoint { x: w, y: 0.0, theta: None }, |
| 250 | Waypoint { x: w, y: h, theta: None }, |
| 251 | Waypoint { x: 0.0, y: h, theta: None }, |
| 252 | ] |
| 253 | } |
| 254 | |
| 255 | #[test] |
| 256 | fn rectangular_coverage() { |
no outgoing calls