()
| 235 | /// Verify PullStats tracking methods work correctly. |
| 236 | #[test] |
| 237 | fn test_pull_stats_tracking() { |
| 238 | let mut stats = PullStats::new(); |
| 239 | assert!(!stats.has_downloads()); |
| 240 | |
| 241 | stats.record_change_downloaded(1024); |
| 242 | assert!(stats.has_downloads()); |
| 243 | assert_eq!(stats.changes_downloaded, 1); |
| 244 | assert_eq!(stats.bytes_transferred, 1024); |
| 245 | } |
| 246 | } |
nothing calls this directly
no test coverage detected