Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AliveToolkit/alive2
/ test
Function
test
tests/lit/lit/ProgressBar.py:317–322 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
315
316
317
def
test():
318
tc = TerminalController()
319
p = ProgressBar(tc,
"Tests"
)
320
for
i in range(101):
321
p.update(i / 100.0, str(i))
322
time.sleep(0.3)
323
324
325
if
__name__ ==
"__main__"
:
Callers
3
isfpclass
Function · 0.85
simplify
Function · 0.85
ProgressBar.py
File · 0.85
Calls
3
update
Method · 0.95
TerminalController
Class · 0.85
ProgressBar
Class · 0.85
Tested by
no test coverage detected