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:408–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

406
407 #[test]
408 fn test_create_byte_progress_bar() {
409 let bar = create_byte_progress_bar(1024 * 1024, "Downloading...");
410 assert_eq!(bar.length(), Some(1024 * 1024));
411 bar.finish();
412 }
413
414 #[test]
415 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