diff options
Diffstat (limited to 'tests/dnn/dnn-layer-mathunary-test.c')
-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 7da3a206ed..0bfcdcbd85 100644 --- a/tests/dnn/dnn-layer-mathunary-test.c +++ b/tests/dnn/dnn-layer-mathunary-test.c @@ -58,6 +58,8 @@ static float get_expected(float f, DNNMathUnaryOperation op) return atanh(f); case DMUO_CEIL: return ceil(f); + case DMUO_FLOOR: + return floor(f); default: av_assert0(!"not supported yet"); return 0.f; @@ -132,5 +134,7 @@ int main(int agrc, char **argv) return 1; if (test(DMUO_CEIL)) return 1; + if (test(DMUO_FLOOR)) + return 1; return 0; } |