()
| 220 | |
| 221 | #[test] |
| 222 | fn test_tracking_stats_totals() { |
| 223 | let mut stats = TrackingStats::new(); |
| 224 | stats.files_added = 5; |
| 225 | stats.directories_added = 2; |
| 226 | stats.files_removed = 1; |
| 227 | |
| 228 | assert_eq!(stats.total_added(), 7); |
| 229 | assert_eq!(stats.total_removed(), 1); |
| 230 | assert!(stats.has_changes()); |
| 231 | } |
| 232 | |
| 233 | #[test] |
| 234 | fn test_tracking_stats_skip() { |
nothing calls this directly
no outgoing calls
no test coverage detected