()
| 3506 | |
| 3507 | #[test] |
| 3508 | fn test_wrap_lines_no_wrap_needed() { |
| 3509 | let lines = wrap_lines("hello", 100.0, None, 16, &fixed_measure); |
| 3510 | assert_eq!(lines.len(), 1); |
| 3511 | assert_eq!(lines[0].text, "hello"); |
| 3512 | assert_eq!(lines[0].global_char_start, 0); |
| 3513 | assert_eq!(lines[0].char_count, 5); |
| 3514 | } |
| 3515 | |
| 3516 | #[test] |
| 3517 | fn test_wrap_lines_hard_break() { |
nothing calls this directly
no test coverage detected