Skip to content

Refactor BoxOps tests to use parameterize #4500

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

Closed
fmassa opened this issue Sep 29, 2021 · 4 comments · Fixed by #5380
Closed

Refactor BoxOps tests to use parameterize #4500

fmassa opened this issue Sep 29, 2021 · 4 comments · Fixed by #5380

Comments

@fmassa
Copy link
Member

fmassa commented Sep 29, 2021

Initially brought in #4472 (review)

TestBoxArea, TestBoxIoU and TestGenBoxIoU are all very related and perform a single test (or two if we consider the newly added JIT test).
We can probably refactor the implementations so that they follow the same base class, and use pytest.parameterize, so that each configuration is displayed as an independent test.

cc @pmeier

@Chandan-h-509
Copy link

Hey @fmassa I would like to work on this issue.

@datumbox
Copy link
Contributor

The ticket is up for grabs!

@HeungwooLee
Copy link
Contributor

I will work on this one.

@datumbox
Copy link
Contributor

datumbox commented Feb 1, 2022

Sounds good, it's yours @HeungwooLee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants