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

Function test_format_size_mib

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

Source from the content-addressed store, hash-verified

937
938 #[test]
939 fn test_format_size_mib() {
940 assert_eq!(format_size(1024 * 1024), "1.0 MiB");
941 assert_eq!(format_size(1024 * 1024 * 5), "5.0 MiB");
942 }
943
944 #[test]
945 fn test_format_size_gib() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected