()
| 293 | |
| 294 | #[test] |
| 295 | fn options_works() { |
| 296 | let mut text = Text::new(); |
| 297 | text.set_color("red") |
| 298 | .set_align_horizontal("center") |
| 299 | .set_align_vertical("center") |
| 300 | .set_fontsize(8.0) |
| 301 | .set_rotation(45.0); |
| 302 | let opt = text.options(); |
| 303 | assert_eq!( |
| 304 | opt, |
| 305 | ",color='red'\ |
| 306 | ,ha='center'\ |
| 307 | ,va='center'\ |
| 308 | ,fontsize=8\ |
| 309 | ,rotation=45" |
| 310 | ); |
| 311 | } |
| 312 | |
| 313 | #[test] |
| 314 | fn options_box_works() { |
nothing calls this directly
no test coverage detected