summaryrefslogtreecommitdiff
path: root/test/utils.cpp
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2024-06-03 21:47:00 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2024-06-10 22:05:52 +0900
commitf3caea0ff7e63b529c9464f911162aa457e9b858 (patch)
treeb41dd34229dd2ddc407ae2086471e6804d164243 /test/utils.cpp
parent48cb731d72e2bc54d3bf76eb35c6644fa2f924f2 (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