()
| 50 | |
| 51 | |
| 52 | def test_split_and_crop_lines(): |
| 53 | assert list( |
| 54 | Segment.split_and_crop_lines([Segment("Hello\nWorld!\n"), Segment("foo")], 4) |
| 55 | ) == [ |
| 56 | [Segment("Hell"), Segment("\n", None)], |
| 57 | [Segment("Worl"), Segment("\n", None)], |
| 58 | [Segment("foo"), Segment(" ")], |
| 59 | ] |
| 60 | |
| 61 | |
| 62 | def test_adjust_line_length(): |
nothing calls this directly
no test coverage detected