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

Function test_graph_stats_avg_empty

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

Source from the content-addressed store, hash-verified

887
888 #[test]
889 fn test_graph_stats_avg_empty() {
890 let stats = GraphStats::default();
891 assert_eq!(stats.avg_vertex_size(), 0.0);
892 assert_eq!(stats.avg_children(), 0.0);
893 }
894
895 #[test]
896 fn test_graph_stats_clone() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected