MCPcopy 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
317def 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
325if __name__ == "__main__":

Callers 3

isfpclassFunction · 0.85
simplifyFunction · 0.85
ProgressBar.pyFile · 0.85

Calls 3

updateMethod · 0.95
TerminalControllerClass · 0.85
ProgressBarClass · 0.85

Tested by

no test coverage detected