Add external/virtual tree path tests for improved coverage #46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds additional tests following the merge of #45, focusing on external (virtual) source/target tree code paths.
New Tests (17 tests)
split_virtual_source_operationssplit_external_source_tree_iterationsplit_virtual_target_operationssplit_search_all_tree_pathssplit_count_usages_tree_branchessplit_tree_ordering_operationssplit_each_usages_core_branchesunit_virtual_source_operationsunit_tree_ordering_operationsunit_each_usages_core_branchessplit_count_links_two_element_querysplit_is_virtual_detectionsplit_resolve_dangling_operationsContext
These tests exercise internal tree operations that handle "virtual" or "external" links - cases where a link references a source or target that has been deleted. This is important for testing the split store's external source/target trees.
Follows up on #45 and issue #44.
Test Plan
cargo test --all-features🤖 Generated with Claude Code