Test progress bar with small percentage.
(self)
| 33 | assert len(bar) == 30 |
| 34 | |
| 35 | def test_small_progress(self): |
| 36 | """Test progress bar with small percentage.""" |
| 37 | bar = _create_progress_bar(4, 50, width=30) |
| 38 | assert bar.startswith("██") |
| 39 | assert bar.endswith("░") |
| 40 | assert len(bar) == 30 |
| 41 | |
| 42 | def test_zero_total(self): |
| 43 | """Test progress bar with zero total (edge case).""" |
nothing calls this directly
no test coverage detected