Module: libav
Branch: master
Commit: dfd8116986a30e312a27269fbac702e885e0e673

Author:    Ronald S. Bultje <[email protected]>
Committer: Ronald S. Bultje <[email protected]>
Date:      Tue Jul  5 18:11:32 2011 -0700

eval: add missing comma to tests.

---

 libavutil/eval.c    |    2 +-
 tests/ref/fate/eval |    7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/libavutil/eval.c b/libavutil/eval.c
index 9bc40c1..6d9b8e4 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 fb7a925..ad01891 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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to