()
| 595 | |
| 596 | #[test] |
| 597 | fn test_transfer_stats_default() { |
| 598 | let stats = TransferStats::default(); |
| 599 | assert_eq!(stats.total_chunks(), 0); |
| 600 | assert_eq!(stats.total_bytes(), 0); |
| 601 | assert!((stats.savings_pct() - 0.0).abs() < f64::EPSILON); |
| 602 | assert_eq!(stats.bytes_per_second(), 0); |
| 603 | } |
| 604 | |
| 605 | #[test] |
| 606 | fn test_transfer_stats_with_values() { |
nothing calls this directly
no outgoing calls
no test coverage detected