From 29c8619a49779a06dd6f59b010682bd4f999aa55 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 17 Feb 2013 17:16:30 +0100 Subject: [PATCH] fate: add print() to the tests of eval Signed-off-by: Michael Niedermayer --- libavutil/eval.c | 2 +- tests/ref/fate/eval | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavutil/eval.c b/libavutil/eval.c index f940e9a05b..5d202249f0 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -805,7 +805,7 @@ int main(int argc, char **argv) "squish(2)", "gauss(0.1)", "hypot(4,3)", - "gcd(30,55)*min(9,1)", + "gcd(30,55)*print(min(9,1))", NULL }; diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval index 91a8abf171..59e3fe40a4 100644 --- a/tests/ref/fate/eval +++ b/tests/ref/fate/eval @@ -247,8 +247,8 @@ Evaluating 'gauss(0.1)' Evaluating 'hypot(4,3)' 'hypot(4,3)' -> 5.000000 -Evaluating 'gcd(30,55)*min(9,1)' -'gcd(30,55)*min(9,1)' -> 5.000000 +Evaluating 'gcd(30,55)*print(min(9,1))' +'gcd(30,55)*print(min(9,1))' -> 5.000000 12.700000 == 12.7 0.931323 == 0.931322575