()
| 537 | |
| 538 | #[test] |
| 539 | fn 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] |
| 550 | fn test_progress_section_display() { |
nothing calls this directly
no outgoing calls
no test coverage detected