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

Function test_stats_display

atomic-core/src/change/provenance_graph/tests.rs:628–640  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

626
627#[test]
628fn test_stats_display() {
629 let stats = ProvenanceStats {
630 goal_count: 1,
631 commitment_count: 2,
632 edge_count: 3,
633 ..Default::default()
634 };
635
636 let display = format!("{}", stats);
637 assert!(display.contains("1 goal"));
638 assert!(display.contains("2 commitments"));
639 assert!(display.contains("3 edges"));
640}
641
642#[test]
643fn test_stats_display_empty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected