Test progress bar with zero total (edge case).
(self)
| 40 | assert len(bar) == 30 |
| 41 | |
| 42 | def test_zero_total(self): |
| 43 | """Test progress bar with zero total (edge case).""" |
| 44 | bar = _create_progress_bar(0, 0, width=30) |
| 45 | assert bar == "░" * 30 |
| 46 | assert len(bar) == 30 |
| 47 | |
| 48 | def test_custom_width(self): |
| 49 | """Test progress bar with custom width.""" |
nothing calls this directly
no test coverage detected