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

Function test_alive_vertex_with_flags

atomic-core/src/output/alive/vertex.rs:567–576  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

565
566 #[test]
567 fn test_alive_vertex_with_flags() {
568 let v = GraphNode::new(
569 NodeId::new(1),
570 ChangePosition::new(0),
571 ChangePosition::new(10),
572 );
573 let alive = AliveVertex::new(v).with_flags(VertexFlags::ZOMBIE);
574
575 assert!(alive.is_zombie());
576 }
577
578 #[test]
579 fn test_alive_vertex_dummy() {

Callers

nothing calls this directly

Calls 1

with_flagsMethod · 0.80

Tested by

no test coverage detected