Skip to content

Refactor BoxOps tests to use parameterize #4500

Closed
@fmassa

Description

@fmassa

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions