Skip to content

Conversation

Krishn1412
Copy link
Contributor

This property test checks structural correctness of grid_graph.

It verifies that the total number of nodes is exactly rows * cols.

It confirms the number of edges matches expectations based on grid dimensions and directionality. It ensures all edge endpoints refer to valid node indices.

It checks that if the graph is bidirectional, it is weakly connected using BFS traversal.

This property test checks structural correctness of grid_graph.

It verifies that the total number of nodes is exactly rows * cols.

It confirms the number of edges matches expectations based on grid dimensions and directionality.
It ensures all edge endpoints refer to valid node indices.

It checks that if the graph is bidirectional, it is weakly connected using BFS traversal.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 15667042815

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 95.283%

Totals Coverage Status
Change from base Build 15635295267: 0.0%
Covered Lines: 18967
Relevant Lines: 19906

💛 - Coveralls

Copy link
Collaborator

@IvanIsCoding IvanIsCoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic work! Thanks

@IvanIsCoding IvanIsCoding added this pull request to the merge queue Jun 16, 2025
Merged via the queue into Qiskit:main with commit b3bfd7a Jun 16, 2025
31 checks passed
SILIZ4 pushed a commit to SILIZ4/rustworkx that referenced this pull request Jul 4, 2025
* Adding quickcheck for grid graph

This property test checks structural correctness of grid_graph.

It verifies that the total number of nodes is exactly rows * cols.

It confirms the number of edges matches expectations based on grid dimensions and directionality.
It ensures all edge endpoints refer to valid node indices.

It checks that if the graph is bidirectional, it is weakly connected using BFS traversal.

* Lint issues
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.

3 participants