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

Function test_graph_single_vertex

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

Source from the content-addressed store, hash-verified

912
913 #[test]
914 fn test_graph_single_vertex() {
915 let mut graph = AliveGraph::new();
916 graph.push_vertex(AliveVertex::DUMMY);
917
918 assert_eq!(graph.len_vertices(), 1);
919 assert_eq!(graph.total_bytes(), 0);
920 }
921
922 #[test]
923 fn test_graph_children_with_extra() {

Callers

nothing calls this directly

Calls 1

push_vertexMethod · 0.80

Tested by

no test coverage detected