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

Function test_is_finished

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

Source from the content-addressed store, hash-verified

572
573 #[test]
574 fn test_is_finished() {
575 let bar = create_progress_bar(100, "Working...");
576 assert!(!is_finished(&bar));
577 bar.finish();
578 assert!(is_finished(&bar));
579 }
580
581 // -------------------------------------------------------------------------
582 // Style Tests

Callers

nothing calls this directly

Calls 2

create_progress_barFunction · 0.85
finishMethod · 0.45

Tested by

no test coverage detected