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

[Testing] Adding unit tests to all classes and functions in types.py #7

Merged
merged 23 commits into from
Nov 12, 2024

Conversation

pimvenderbosch
Copy link
Member

Currently not al classes and functions are properly tested. This PR introduces unit tests to cover the full code base.

@pimvenderbosch pimvenderbosch requested review from RolandMacDoland, Doomsk and kaosmicadei and removed request for RolandMacDoland and Doomsk November 1, 2024 16:59
@RolandMacDoland RolandMacDoland changed the title Adding unit tests to all classes and functions [Testing] Adding unit tests to all classes and functions Nov 1, 2024
Copy link
Contributor

@kaosmicadei kaosmicadei left a comment

Choose a reason for hiding this comment

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

Only a few comments in the qadence2_ir/types.py, but nothing critical.

Copy link
Contributor

@RolandMacDoland RolandMacDoland left a comment

Choose a reason for hiding this comment

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

LGTM. Minor comments. Will approve once resolved.

tests/test_types.py Outdated Show resolved Hide resolved
tests/test_types.py Outdated Show resolved Hide resolved
tests/test_types.py Outdated Show resolved Hide resolved
tests/test_types.py Outdated Show resolved Hide resolved
Copy link
Member

@Doomsk Doomsk left a comment

Choose a reason for hiding this comment

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

Good work with the tests. Minor things to reach agreement and move on

qadence2_ir/types.py Show resolved Hide resolved
@pimvenderbosch pimvenderbosch changed the title [Testing] Adding unit tests to all classes and functions [Testing] Adding unit tests to all classes and functions in types.py Nov 6, 2024
@pimvenderbosch
Copy link
Member Author

Hi all, thanks for the initial review. I've pushed some extra tests to cover the full types.py file. I've chanced the scope of this PR to only cover tests for that file. PRs for the other files will follow. Would be nice if you could review again, so we can proceed with merging.

@pimvenderbosch pimvenderbosch marked this pull request as ready for review November 6, 2024 08:41
Copy link
Contributor

@RolandMacDoland RolandMacDoland left a comment

Choose a reason for hiding this comment

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

Thanks @pimvenderbosch. Minor comments.

tests/test_types.py Outdated Show resolved Hide resolved
tests/test_types.py Outdated Show resolved Hide resolved
pimvenderbosch added a commit that referenced this pull request Nov 7, 2024
@pimvenderbosch pimvenderbosch merged commit d66a3e6 into main Nov 12, 2024
7 checks passed
@pimvenderbosch pimvenderbosch deleted the pv/add-tests branch November 12, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants