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

Function test_new_vertex_no_context

atomic-core/src/change/atom.rs:619–631  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

617
618 #[test]
619 fn test_new_vertex_no_context() {
620 let nv = Insertion {
621 predecessors: vec![],
622 successors: vec![],
623 flag: EdgeFlags::BLOCK,
624 start: ChangePosition::new(0),
625 end: ChangePosition::new(10),
626 inode: test_hash_position(0),
627 };
628
629 assert!(!nv.has_predecessors());
630 assert!(!nv.has_successors());
631 }
632
633 #[test]
634 fn test_new_vertex_display() {

Callers

nothing calls this directly

Calls 1

test_hash_positionFunction · 0.70

Tested by

no test coverage detected