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

Function test_create_progress_bar

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

Source from the content-addressed store, hash-verified

419
420 #[test]
421 fn test_create_progress_bar() {
422 let bar = create_progress_bar(100, "Testing...");
423 assert_eq!(bar.length(), Some(100));
424 assert_eq!(bar.position(), 0);
425 bar.finish();
426 }
427
428 #[test]
429 fn test_create_byte_progress_bar() {

Callers

nothing calls this directly

Calls 2

create_progress_barFunction · 0.85
finishMethod · 0.45

Tested by

no test coverage detected