Skip to content

Add unit tests for OpenQASM samples #2431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025
Merged

Conversation

swernli
Copy link
Collaborator

@swernli swernli commented May 19, 2025

This change adds auto-generated Rust unit tests for executing each of the files in samples/OpenQASM/*.qasm. Like with the other sampels tests, the expect entries corresponding to newly introduced samples should be added manually while the test infra in the OpenQASM_generated.rs file is created at build time.

This change adds auto-generated Rust unit tests for executing each of the files in samples/OpenQASM/*.qasm. Like with the other sampels tests, the expect entries corresponding to newly introduced samples should be added manually while the test infra in the OpenQASM_generated.rs file is created at build time.
@swernli swernli enabled auto-merge May 19, 2025 21:30
@swernli swernli added this pull request to the merge queue May 19, 2025
Merged via the queue into main with commit a64d1f8 May 19, 2025
18 checks passed
@swernli swernli deleted the swernli/qasm-sample-unit-tests branch May 19, 2025 22:08
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.

4 participants