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

Function test_workspace_rooted_tracking

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

Source from the content-addressed store, hash-verified

878
879 #[test]
880 fn test_workspace_rooted_tracking() {
881 let mut workspace = Workspace::new();
882 let pos = make_internal_position(NodeId::new(42), 0);
883
884 workspace.mark_rooted(pos);
885
886 assert!(workspace.is_rooted(&pos));
887 }
888
889 // Error Case Tests
890

Callers

nothing calls this directly

Calls 2

mark_rootedMethod · 0.80
make_internal_positionFunction · 0.70

Tested by

no test coverage detected