()
| 854 | |
| 855 | #[test] |
| 856 | fn test_workspace_parent_tracking() { |
| 857 | let mut workspace = Workspace::new(); |
| 858 | let child_pos = make_internal_position(NodeId::new(100), 50); |
| 859 | let parent_pos = make_internal_position(NodeId::new(42), 20); |
| 860 | |
| 861 | workspace.set_parent(child_pos, parent_pos); |
| 862 | |
| 863 | assert_eq!(workspace.get_parent(&child_pos), Some(parent_pos)); |
| 864 | } |
| 865 | |
| 866 | #[test] |
| 867 | fn test_workspace_zombie_tracking() { |
nothing calls this directly
no test coverage detected