diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2024-06-03 21:47:00 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2024-06-10 22:05:52 +0900 |
commit | f3caea0ff7e63b529c9464f911162aa457e9b858 (patch) | |
tree | b41dd34229dd2ddc407ae2086471e6804d164243 /test/utils.cpp | |
parent | 48cb731d72e2bc54d3bf76eb35c6644fa2f924f2 (diff) |
test: ipa: rkisp1: utils: Fix floating and fixed point conversion test
There was an issue where using map to store the test cases meant that
the test for ignoring unused bits was skipped because of clashing keys.
Fix this by moving the offending test out of the loop.
While at it, also change the arbitrary floating comparison precision to
be more precise.
Also fix a missing documentation brief.
Fixes: 9d152e9c66c1 ("ipa: rkisp1: Add a helper to convert floating-point to fixed-point")
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/utils.cpp')
0 files changed, 0 insertions, 0 deletions