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

Function test_format_bytes_small

atomic-cli/src/commands/pull/helpers.rs:773–777  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

771 /// Test format_bytes with small values.
772 #[test]
773 fn test_format_bytes_small() {
774 assert_eq!(format_bytes(0), "0 B");
775 assert_eq!(format_bytes(512), "512 B");
776 assert_eq!(format_bytes(1023), "1023 B");
777 }
778
779 /// Test format_bytes with kilobytes.
780 #[test]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected