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

Function test_format_size_bytes

atomic-remote/src/streaming/tests.rs:709–713  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

707
708#[test]
709fn test_format_size_bytes() {
710 assert_eq!(types::format_size(0), "0 B");
711 assert_eq!(types::format_size(512), "512 B");
712 assert_eq!(types::format_size(1023), "1023 B");
713}
714
715#[test]
716fn test_format_size_kilobytes() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected