diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dnn/dnn-layer-mathunary-test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/dnn/dnn-layer-mathunary-test.c b/tests/dnn/dnn-layer-mathunary-test.c index 0bfcdcbd85..e9235120f3 100644 --- a/tests/dnn/dnn-layer-mathunary-test.c +++ b/tests/dnn/dnn-layer-mathunary-test.c @@ -60,6 +60,8 @@ static float get_expected(float f, DNNMathUnaryOperation op) return ceil(f); case DMUO_FLOOR: return floor(f); + case DMUO_ROUND: + return round(f); default: av_assert0(!"not supported yet"); return 0.f; @@ -136,5 +138,7 @@ int main(int agrc, char **argv) return 1; if (test(DMUO_FLOOR)) return 1; + if (test(DMUO_ROUND)) + return 1; return 0; } |