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

Function test_graph_push_child

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

Source from the content-addressed store, hash-verified

608
609 #[test]
610 fn test_graph_push_child() {
611 let mut graph = AliveGraph::new();
612 graph.push_child(None, VertexId::DUMMY);
613
614 assert_eq!(graph.len_children(), 1);
615 }
616
617 #[test]
618 fn test_graph_push_child_to_last() {

Callers

nothing calls this directly

Calls 1

push_childMethod · 0.80

Tested by

no test coverage detected