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

Function test_format_bytes_kb

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

Source from the content-addressed store, hash-verified

779 /// Test format_bytes with kilobytes.
780 #[test]
781 fn test_format_bytes_kb() {
782 assert_eq!(format_bytes(1024), "1.0 KB");
783 assert_eq!(format_bytes(1536), "1.5 KB");
784 }
785
786 /// Test format_bytes with megabytes.
787 #[test]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected