Skip to content

Adding quickcheck for barbell graphs#1467

Merged
IvanIsCoding merged 2 commits into
Qiskit:mainfrom
Krishn1412:quickcheck_barbell_graph
Jun 21, 2025
Merged

Adding quickcheck for barbell graphs#1467
IvanIsCoding merged 2 commits into
Qiskit:mainfrom
Krishn1412:quickcheck_barbell_graph

Conversation

@Krishn1412

Copy link
Copy Markdown
Contributor

This QuickCheck test verifies structural properties of barbell_graph.

It ensures the total number of nodes is 2 × mesh_size + path_size.

It checks the number of edges matches the expected sum of two cliques, path edges, and connectors.

This QuickCheck test verifies structural properties of barbell_graph.

It ensures the total number of nodes is 2 × mesh_size + path_size.

It checks the number of edges matches the expected sum of two cliques, path edges, and connectors.
@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 15797756876

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.201%

Totals Coverage Status
Change from base Build 15708458581: 0.0%
Covered Lines: 19383
Relevant Lines: 20360

💛 - Coveralls

@IvanIsCoding IvanIsCoding left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Excellent!

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

This QuickCheck test verifies structural properties of barbell_graph.

It ensures the total number of nodes is 2 × mesh_size + path_size.

It checks the number of edges matches the expected sum of two cliques, path edges, and connectors.

* Fixing clippy issue
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