()
| 331 | |
| 332 | #[test] |
| 333 | fn draw_works() { |
| 334 | let mut text = Text::new(); |
| 335 | text.draw(1.2, 3.4, &"message".to_string()); |
| 336 | let b: &str = "t=plt.text(1.2,3.4,r'message')\n"; |
| 337 | assert_eq!(text.buffer, b); |
| 338 | text.clear_buffer(); |
| 339 | assert_eq!(text.buffer, ""); |
| 340 | } |
| 341 | |
| 342 | #[test] |
| 343 | fn draw_3d_works() { |
nothing calls this directly
no test coverage detected