Test when text already reaches target width.
(self)
| 152 | assert calculate_display_width(result) == 10 |
| 153 | |
| 154 | def test_no_padding_needed(self): |
| 155 | """Test when text already reaches target width.""" |
| 156 | result = pad_to_width("Hello", 5) |
| 157 | assert result == "Hello" |
| 158 | |
| 159 | def test_text_exceeds_width(self): |
| 160 | """Test when text exceeds target width.""" |
nothing calls this directly
no test coverage detected