use lockbook_shared::usage::bytes_to_human;
#[test]
fn bytes_to_human_kb() {
assert_eq!(bytes_to_human(2000), "2 KB".to_string());
}
#[test]
fn bytes_to_human_mb() {
assert_eq!(bytes_to_human(2000000), "2 MB".to_string());
}
#[test]
fn bytes_to_human_gb() {
assert_eq!(bytes_to_human(2000000000), "2 GB".to_string());
}