()
| 1321 | |
| 1322 | #[test] |
| 1323 | fn test_code_stats_new() { |
| 1324 | let stats = CodeChangeStats::new(100, 20); |
| 1325 | assert_eq!(stats.lines_added, 100); |
| 1326 | assert_eq!(stats.lines_removed, 20); |
| 1327 | assert_eq!(stats.total(), 120); |
| 1328 | assert!(!stats.is_empty()); |
| 1329 | } |
| 1330 | |
| 1331 | #[test] |
| 1332 | fn test_code_stats_empty() { |
nothing calls this directly
no outgoing calls
no test coverage detected