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

Function test_workspace_rooted_tracking

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

Source from the content-addressed store, hash-verified

700
701 #[test]
702 fn test_workspace_rooted_tracking() {
703 let mut workspace = Workspace::new();
704 let pos = make_internal_position(NodeId::new(42), 0);
705
706 workspace.mark_rooted(pos);
707
708 assert!(workspace.is_rooted(&pos));
709 }
710
711 // Error Case Tests
712

Callers

nothing calls this directly

Calls 2

mark_rootedMethod · 0.80
make_internal_positionFunction · 0.70

Tested by

no test coverage detected