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

Function test_format_bytes_kb

atomic-cli/src/commands/clone/helpers.rs:1060–1063  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1058 /// Test format_bytes with kilobytes.
1059 #[test]
1060 fn test_format_bytes_kb() {
1061 assert_eq!(format_bytes(1024), "1.0 KB");
1062 assert_eq!(format_bytes(1536), "1.5 KB");
1063 }
1064
1065 /// Test format_bytes with megabytes.
1066 #[test]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected