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

Function test_workspace_zombie_tracking

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

Source from the content-addressed store, hash-verified

865
866 #[test]
867 fn test_workspace_zombie_tracking() {
868 let mut workspace = Workspace::new();
869 let node = make_internal_vertex(NodeId::new(42), 0, 10);
870
871 assert!(!workspace.has_zombies());
872
873 workspace.add_zombie_vertex(node);
874
875 assert!(workspace.has_zombies());
876 assert!(workspace.has_conflicts());
877 }
878
879 #[test]
880 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