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

Function test_workspace_deleted_edges

atomic-core/src/apply/workspace.rs:985–995  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

983
984 #[test]
985 fn test_workspace_deleted_edges() {
986 let mut workspace = Workspace::new();
987 let from = Position::ROOT;
988 let to = Position::new(NodeId::new(1), ChangePosition::new(0));
989
990 assert!(!workspace.is_edge_deleted(&from, &to));
991
992 workspace.mark_edge_deleted(from, to);
993
994 assert!(workspace.is_edge_deleted(&from, &to));
995 }
996
997 // Parent/Child Tests
998

Callers

nothing calls this directly

Calls 1

mark_edge_deletedMethod · 0.80

Tested by

no test coverage detected