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

Function test_create_progress_bar

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

Source from the content-addressed store, hash-verified

398
399 #[test]
400 fn test_create_progress_bar() {
401 let bar = create_progress_bar(100, "Testing...");
402 assert_eq!(bar.length(), Some(100));
403 assert_eq!(bar.position(), 0);
404 bar.finish();
405 }
406
407 #[test]
408 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