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

Function test_redundant_edge_debug

atomic-core/src/output/alive/mod.rs:137–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135
136 #[test]
137 fn test_redundant_edge_debug() {
138 let node = GraphNode::ROOT;
139 let edge = SerializedGraphEdge::new(EdgeFlags::BLOCK, Position::ROOT, NodeId::ROOT);
140
141 let redundant = RedundantEdge::new(node, edge);
142 let debug = format!("{:?}", redundant);
143 assert!(debug.contains("RedundantEdge"));
144 }
145
146 #[test]
147 fn test_redundant_edge_clone() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected