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

Function test_graph_stats_clone

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

Source from the content-addressed store, hash-verified

894
895 #[test]
896 fn test_graph_stats_clone() {
897 let stats = GraphStats {
898 vertex_count: 5,
899 child_count: 10,
900 total_bytes: 500,
901 zombie_count: 1,
902 empty_vertex_count: 2,
903 };
904
905 let cloned = stats;
906 assert_eq!(stats, cloned);
907 }
908
909 // -------------------------------------------------------------------------
910 // Edge Cases

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected