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

Function test_progress_started_display

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

Source from the content-addressed store, hash-verified

537
538#[test]
539fn test_progress_started_display() {
540 let p = TransferProgress::Started {
541 total_sections: 11,
542 total_bytes_estimate: 7_500_000,
543 };
544 let display = format!("{}", p);
545 assert!(display.contains("11 sections"));
546 assert!(display.contains("7.2 MB"));
547}
548
549#[test]
550fn test_progress_section_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected