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

Source from the content-addressed store, hash-verified

585
586 #[test]
587 fn test_graph_push_child() {
588 let mut graph = AliveGraph::new();
589 graph.push_child(None, VertexId::DUMMY);
590
591 assert_eq!(graph.len_children(), 1);
592 }
593
594 #[test]
595 fn test_graph_push_child_to_last() {

Callers

nothing calls this directly

Calls 1

push_childMethod · 0.80

Tested by

no test coverage detected