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

Function test_progress_chunk_display

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

Source from the content-addressed store, hash-verified

559
560#[test]
561fn test_progress_chunk_display() {
562 let p = TransferProgress::ChunkComplete {
563 index: 3,
564 bytes_transferred: 32000,
565 skipped: false,
566 };
567 let display = format!("{}", p);
568 assert!(display.contains("chunk #3"));
569 assert!(display.contains("31.2 KB"));
570}
571
572#[test]
573fn test_progress_chunk_skipped_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected