Test progress bar with 0% completion.
(self)
| 15 | """Tests for _create_progress_bar function.""" |
| 16 | |
| 17 | def test_empty_progress_bar(self): |
| 18 | """Test progress bar with 0% completion.""" |
| 19 | bar = _create_progress_bar(0, 100, width=30) |
| 20 | assert bar == "░" * 30 |
| 21 | assert len(bar) == 30 |
| 22 | |
| 23 | def test_full_progress_bar(self): |
| 24 | """Test progress bar with 100% completion.""" |
nothing calls this directly
no test coverage detected