()
| 319 | |
| 320 | #[test] |
| 321 | fn buffer_point_4_segments() { |
| 322 | let circle = st_buffer(&Geometry::point(10.0, 50.0), 500.0, 4); |
| 323 | if let Geometry::Polygon { coordinates } = &circle { |
| 324 | assert_eq!(coordinates[0].len(), 5); // 4 + close |
| 325 | } else { |
| 326 | panic!("expected Polygon"); |
| 327 | } |
| 328 | } |
| 329 | |
| 330 | #[test] |
| 331 | fn envelope_polygon() { |
nothing calls this directly
no test coverage detected