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

Function test_inode_vertex_new

atomic-core/src/pristine/inode_graph/tests.rs:8–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7#[test]
8fn test_inode_vertex_new() {
9 let inode = Inode::new(42);
10 let node = GraphNode::new(
11 NodeId::new(1),
12 ChangePosition::new(0),
13 ChangePosition::new(100),
14 );
15 let iv = InodeVertex::new(inode, node);
16
17 assert_eq!(iv.inode, inode);
18 assert_eq!(iv.node, node);
19}
20
21#[test]
22fn test_inode_vertex_root() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected