MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_format_size_bytes

Function test_format_size_bytes

atomic-cli/src/commands/mod.rs:926–930  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

924
925 #[test]
926 fn test_format_size_bytes() {
927 assert_eq!(format_size(0), "0 B");
928 assert_eq!(format_size(100), "100 B");
929 assert_eq!(format_size(1023), "1023 B");
930 }
931
932 #[test]
933 fn test_format_size_kib() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected