MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_create_hidden_progress

Function test_create_hidden_progress

atomic-cli/src/output/progress.rs:436–442  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

434
435 #[test]
436 fn test_create_hidden_progress() {
437 let bar = create_hidden_progress(50);
438 assert_eq!(bar.length(), Some(50));
439 bar.inc(10);
440 assert_eq!(bar.position(), 10);
441 bar.finish();
442 }
443
444 // -------------------------------------------------------------------------
445 // Progress Operations Tests

Callers

nothing calls this directly

Calls 2

create_hidden_progressFunction · 0.85
finishMethod · 0.45

Tested by

no test coverage detected