()
| 676 | |
| 677 | #[test] |
| 678 | fn test_workspace_parent_tracking() { |
| 679 | let mut workspace = Workspace::new(); |
| 680 | let child_pos = make_internal_position(NodeId::new(100), 50); |
| 681 | let parent_pos = make_internal_position(NodeId::new(42), 20); |
| 682 | |
| 683 | workspace.set_parent(child_pos, parent_pos); |
| 684 | |
| 685 | assert_eq!(workspace.get_parent(&child_pos), Some(parent_pos)); |
| 686 | } |
| 687 | |
| 688 | #[test] |
| 689 | fn test_workspace_zombie_tracking() { |
nothing calls this directly
no test coverage detected