histogram gives back percentage column. (#2340)

This commit is contained in:
Andrés N. Robalino
2020-08-12 04:21:28 -05:00
committed by GitHub
parent 48cfc9b598
commit 8ff15c46c1
4 changed files with 12 additions and 3 deletions

View File

@ -106,7 +106,7 @@ fn count() {
"#
));
let bit_json = r#"[{"bit":"1","count":2},{"bit":"0","count":6}]"#;
let bit_json = r#"[{"bit":"1","count":2,"percentage":"33.33%"},{"bit":"0","count":6,"percentage":"100.00%"}]"#;
assert_eq!(actual.out, bit_json);
}