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

Function test_format_size_kib

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

Source from the content-addressed store, hash-verified

931
932 #[test]
933 fn test_format_size_kib() {
934 assert_eq!(format_size(1024), "1.0 KiB");
935 assert_eq!(format_size(1536), "1.5 KiB");
936 }
937
938 #[test]
939 fn test_format_size_mib() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected