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

Function test_create_hidden_progress

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

Source from the content-addressed store, hash-verified

413
414 #[test]
415 fn test_create_hidden_progress() {
416 let bar = create_hidden_progress(50);
417 assert_eq!(bar.length(), Some(50));
418 bar.inc(10);
419 assert_eq!(bar.position(), 10);
420 bar.finish();
421 }
422
423 // -------------------------------------------------------------------------
424 // Progress Operations Tests

Callers

nothing calls this directly

Calls 2

create_hidden_progressFunction · 0.85
finishMethod · 0.45

Tested by

no test coverage detected