MCPcopy Index your code
hub / github.com/Codeplain-ai/codeplain / test_half_progress_bar

Method test_half_progress_bar

tests/test_cli_output.py:29–33  ·  view source on GitHub ↗

Test progress bar with 50% completion.

(self)

Source from the content-addressed store, hash-verified

27 assert len(bar) == 30
28
29 def test_half_progress_bar(self):
30 """Test progress bar with 50% completion."""
31 bar = _create_progress_bar(50, 100, width=30)
32 assert bar == "█" * 15 + "░" * 15
33 assert len(bar) == 30
34
35 def test_small_progress(self):
36 """Test progress bar with small percentage."""

Callers

nothing calls this directly

Calls 1

_create_progress_barFunction · 0.90

Tested by

no test coverage detected