Browse Source

fate: add print() to the tests of eval

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
29c8619a49
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      libavutil/eval.c
  2. +2
    -2
      tests/ref/fate/eval

+ 1
- 1
libavutil/eval.c View File

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



+ 2
- 2
tests/ref/fate/eval View File

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