eval: add missing comma to tests.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 6 Jul 2011 01:11:32 +0000 (18:11 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 6 Jul 2011 01:18:11 +0000 (18:18 -0700)
libavutil/eval.c
tests/ref/fate/eval

index 9bc40c1..6d9b8e4 100644 (file)
@@ -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",
index fb7a925..ad01891 100644 (file)
@@ -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