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

Source from the content-addressed store, hash-verified

740
741 #[test]
742 fn test_graph_stats_empty() {
743 let graph = AliveGraph::new();
744 let stats = graph.stats();
745
746 assert_eq!(stats.vertex_count, 0);
747 assert_eq!(stats.child_count, 0);
748 assert_eq!(stats.total_bytes, 0);
749 assert!(!stats.has_conflicts());
750 }
751
752 #[test]
753 fn test_graph_stats_with_content() {

Callers

nothing calls this directly

Calls 1

statsMethod · 0.45

Tested by

no test coverage detected