(input: Duration, expected: &str)
| 220 | } |
| 221 | |
| 222 | fn assert_print_duration(input: Duration, expected: &str) { |
| 223 | let actual = format_duration(&input); |
| 224 | assert_eq!(actual, expected, "{input}"); |
| 225 | } |
| 226 | |
| 227 | macro_rules! assert_durations { |
| 228 | ($($str:expr => $duration:expr),*$(,)?) => { |
nothing calls this directly
no test coverage detected