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

Function test_workspace_zombie_tracking

atomic-core/src/apply/edge.rs:689–699  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

687
688 #[test]
689 fn test_workspace_zombie_tracking() {
690 let mut workspace = Workspace::new();
691 let node = make_internal_vertex(NodeId::new(42), 0, 10);
692
693 assert!(!workspace.has_zombies());
694
695 workspace.add_zombie_vertex(node);
696
697 assert!(workspace.has_zombies());
698 assert!(workspace.has_conflicts());
699 }
700
701 #[test]
702 fn test_workspace_rooted_tracking() {

Callers

nothing calls this directly

Calls 2

make_internal_vertexFunction · 0.70
add_zombie_vertexMethod · 0.45

Tested by

no test coverage detected