()
| 2 | |
| 3 | #[test] |
| 4 | fn test_basic_bar() { |
| 5 | let mut bar = Bar::new([("Ferris", RED), ("Stefan", GREEN), ("Test", BLUE)], &[100., 200., 500.,]); |
| 6 | bar.add(("Added", ORANGE), 400.); |
| 7 | bar.set_title("title"); |
| 8 | bar.set_ylabel("test"); |
| 9 | bar.show(); |
| 10 | } |
| 11 | #[test] |
| 12 | fn test_neg_basic_bar() { |
| 13 | let mut bar = Bar::new([("Ferris", RED), ("Stefan", GREEN), ("Test", BLUE)], &[100., 200., 500.,]); |
nothing calls this directly
no test coverage detected