Test center alignment.
(self)
| 127 | assert len(result) == 10 |
| 128 | |
| 129 | def test_center_align(self): |
| 130 | """Test center alignment.""" |
| 131 | result = pad_to_width("Test", 10, align="center") |
| 132 | assert result == " Test " |
| 133 | assert len(result) == 10 |
| 134 | |
| 135 | def test_center_align_odd(self): |
| 136 | """Test center alignment with odd padding.""" |
nothing calls this directly
no test coverage detected