aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-07-05 18:11:32 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2011-07-05 18:18:11 -0700
commitdfd8116986a30e312a27269fbac702e885e0e673 (patch)
tree03423ef5af9864b28b580ffa80bd9493505f8813
parentfe277b16f0861a327e1f6c00c0dbb8b00806d60d (diff)
downloadffmpeg-dfd8116986a30e312a27269fbac702e885e0e673.tar.gz
eval: add missing comma to tests.
-rw-r--r--libavutil/eval.c2
-rw-r--r--tests/ref/fate/eval7
2 files changed, 6 insertions, 3 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c
index 9bc40c1edc..6d9b8e4208 100644
--- a/libavutil/eval.c
+++ b/libavutil/eval.c
@@ -559,7 +559,7 @@ int main(int argc, char **argv)
"-PI",
"+PI",
"1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)",
- "80G/80Gi"
+ "80G/80Gi",
"1k",
"1Gi",
"1gi",
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval
index fb7a925b77..ad01891d9c 100644
--- a/tests/ref/fate/eval
+++ b/tests/ref/fate/eval
@@ -16,8 +16,11 @@ Evaluating '+PI'
Evaluating '1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)'
'1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)' -> 12.700000
-Evaluating '80G/80Gi1k'
-'80G/80Gi1k' -> nan
+Evaluating '80G/80Gi'
+'80G/80Gi' -> 0.931323
+
+Evaluating '1k'
+'1k' -> 1000.000000
Evaluating '1Gi'
'1Gi' -> 1073741824.000000