fate: add print() to the tests of eval

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/8/merge
Michael Niedermayer 12 years ago
parent 09ece9fa6c
commit 29c8619a49
  1. 2
      libavutil/eval.c
  2. 4
      tests/ref/fate/eval

@ -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
};

@ -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

Loading…
Cancel
Save