MCPcopy Create free account
hub / github.com/elftausend/graplot / test_neg_basic_bar

Function test_neg_basic_bar

tests/bar.rs:12–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10}
11#[test]
12fn test_neg_basic_bar() {
13 let mut bar = Bar::new([("Ferris", RED), ("Stefan", GREEN), ("Test", BLUE)], &[100., 200., 500.,]);
14 bar.add(("Added", ORANGE), -400.);
15 bar.set_title("title");
16 bar.set_ylabel("test");
17 bar.show();
18}
19
20#[test]
21fn test_small_bar() {

Callers

nothing calls this directly

Calls 4

addMethod · 0.45
set_titleMethod · 0.45
set_ylabelMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected