Skip to content
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

Test gate being added multiple times. #2560

Merged
merged 5 commits into from
Nov 19, 2019

Conversation

dstrain115
Copy link
Collaborator

I wasn't sure what would happen if you added a gate to a gate set multiple times, so I decided to add tests to make sure it worked. Also, made a fix to a test for with_added_gates() as there was a typo and it didn't cause the tests to fail.

This PR does not change functionality. It only adds tests.

@googlebot googlebot added the cla: yes Makes googlebot stop complaining. label Nov 15, 2019
Copy link
Contributor

@maffoo maffoo left a comment

Choose a reason for hiding this comment

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

LGTM

ids: "0_1"
}
}
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: add trailing newline

@dstrain115 dstrain115 merged commit d2f6344 into quantumlib:master Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Makes googlebot stop complaining.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants