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

Function test_graph_stats_empty

atomic-core/src/output/alive/graph.rs:765–773  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

763
764 #[test]
765 fn test_graph_stats_empty() {
766 let graph = AliveGraph::new();
767 let stats = graph.stats();
768
769 assert_eq!(stats.vertex_count, 0);
770 assert_eq!(stats.child_count, 0);
771 assert_eq!(stats.total_bytes, 0);
772 assert!(!stats.has_conflicts());
773 }
774
775 #[test]
776 fn test_graph_stats_with_content() {

Callers

nothing calls this directly

Calls 1

statsMethod · 0.45

Tested by

no test coverage detected