()
| 312 | |
| 313 | #[test] |
| 314 | fn options_box_works() { |
| 315 | let mut text = Text::new(); |
| 316 | text.set_bbox(true) |
| 317 | .set_bbox_facecolor("pink") |
| 318 | .set_bbox_edgecolor("black") |
| 319 | .set_bbox_alpha(0.3) |
| 320 | .set_bbox_style("round,pad=0.4"); |
| 321 | assert_eq!(text.bbox, true); |
| 322 | let opt = text.options_bbox(); |
| 323 | assert_eq!( |
| 324 | opt, |
| 325 | "facecolor='pink',\ |
| 326 | edgecolor='black',\ |
| 327 | alpha=0.3,\ |
| 328 | boxstyle='round,pad=0.4'," |
| 329 | ); |
| 330 | } |
| 331 | |
| 332 | #[test] |
| 333 | fn draw_works() { |
nothing calls this directly
no test coverage detected