()
| 1091 | |
| 1092 | #[test] |
| 1093 | fn test_sync_stats_display_incremental() { |
| 1094 | let stats = SyncStats { |
| 1095 | dichotomy_comparisons: 5, |
| 1096 | divergence_point: 42, |
| 1097 | changelist_entries_fetched: 10, |
| 1098 | from_scratch: false, |
| 1099 | }; |
| 1100 | let display = format!("{}", stats); |
| 1101 | assert!(display.contains("5 comparisons")); |
| 1102 | assert!(display.contains("divergence at 42")); |
| 1103 | assert!(display.contains("10 entries")); |
| 1104 | } |
| 1105 | |
| 1106 | // Node helper tests (verifying Hash/Eq for HashSet usage) |
| 1107 |
nothing calls this directly
no outgoing calls
no test coverage detected