Skip to content

Add HIP graph lifecycle and query coverage - #7

Open
AWoloszyn wants to merge 1 commit into
mainfrom
origin/users/awoloszyn/add-lifecycle-query-tests
Open

Add HIP graph lifecycle and query coverage#7
AWoloszyn wants to merge 1 commit into
mainfrom
origin/users/awoloszyn/add-lifecycle-query-tests

Conversation

@AWoloszyn

Copy link
Copy Markdown
Collaborator

Add focused graph template tests for the APIs that expose graph structure directly: dependency insertion, node enumeration, root-node enumeration, node type lookup, node destruction, and repeated instantiate/destroy sequencing. The cases cover both successful empty-node graphs and invalid inputs such as null node arrays, duplicate dependencies, self-dependencies, cross-graph dependencies, and null node handles.

These tests pin down the observable graph editing contract instead of only checking that a graph can be created. They verify that query APIs report the counts and handles a caller can actually consume, that destroyed nodes disappear from later graph queries, and that invalid dependency edges fail before they mutate the graph.

Add focused graph template tests for the APIs that expose graph structure directly: dependency insertion, node enumeration, root-node enumeration, node type lookup, node destruction, and repeated instantiate/destroy sequencing. The cases cover both successful empty-node graphs and invalid inputs such as null node arrays, duplicate dependencies, self-dependencies, cross-graph dependencies, and null node handles.

These tests pin down the observable graph editing contract instead of only checking that a graph can be created. They verify that query APIs report the counts and handles a caller can actually consume, that destroyed nodes disappear from later graph queries, and that invalid dependency edges fail before they mutate the graph.
@AWoloszyn
AWoloszyn requested a review from zjgarvey June 10, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant