Test left alignment (default).
(self)
| 115 | """Tests for pad_to_width function.""" |
| 116 | |
| 117 | def test_left_align(self): |
| 118 | """Test left alignment (default).""" |
| 119 | result = pad_to_width("Hello", 10) |
| 120 | assert result == "Hello " |
| 121 | assert len(result) == 10 |
| 122 | |
| 123 | def test_right_align(self): |
| 124 | """Test right alignment.""" |
nothing calls this directly
no test coverage detected