()
| 338 | |
| 339 | #[test] |
| 340 | fn test_print_welcome_and_is_narrow_agree() { |
| 341 | let (narrow, max_length) = check_is_narrow_welcome(1000); |
| 342 | assert!(!narrow, "Long message not found"); |
| 343 | |
| 344 | for i in 0..max_length { |
| 345 | assert!(check_is_narrow_welcome(u16::try_from(i).unwrap()).0, "Long message found"); |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | #[test] |
| 350 | fn test_print_welcome_draw_logo_default() { |
nothing calls this directly
no test coverage detected