Skip to content

G-API: division test is disabled for MathOperatorTest #13147

@ghost

Description

Testing of the divsion operation has been disabled by @alalek with PR #13096

I am filing this issue in order to track fixing and re-enabling of these tests

Reasoning provided by @alalek about these tests:

Div by exact zero has been changed in OpenCV 4.x (to follow IEEE 754 for floating point numbers): #12826

Div by values near zero provides unreliable results.
Small error in denominator provides has huge impact on result. So inputs should be "normalized" (avoided values near zero), or compare function should be based on input values too (it is not enough to provide "expected" and "actual" results only)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions