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

Function test_create_byte_progress_bar

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

Source from the content-addressed store, hash-verified

427
428 #[test]
429 fn test_create_byte_progress_bar() {
430 let bar = create_byte_progress_bar(1024 * 1024, "Downloading...");
431 assert_eq!(bar.length(), Some(1024 * 1024));
432 bar.finish();
433 }
434
435 #[test]
436 fn test_create_hidden_progress() {

Callers

nothing calls this directly

Calls 2

create_byte_progress_barFunction · 0.85
finishMethod · 0.45

Tested by

no test coverage detected