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

Function test_node

atomic-core/src/output/alive/retrieve/tests.rs:170–176  ·  view source on GitHub ↗
(change: u64, start: u64, end: u64)

Source from the content-addressed store, hash-verified

168}
169
170fn test_node(change: u64, start: u64, end: u64) -> GraphNode<NodeId> {
171 GraphNode::new(
172 NodeId::new(change),
173 ChangePosition::new(start),
174 ChangePosition::new(end),
175 )
176}
177
178fn assert_inconsistent(
179 result: Result<RetrieveResult, PristineError>,

Calls

no outgoing calls

Tested by

no test coverage detected