aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/eval
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-31 22:46:58 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-01 00:32:15 +0100
commit25a21c587c070fbcc79ff9e0004b6de4ec6ec692 (patch)
treea2fda6325bb338304da5ed3c27614c0c92dbcd88 /tests/ref/fate/eval
parent54a48d2f0452deaea4a0cece506b454f29b480ca (diff)
downloadffmpeg-25a21c587c070fbcc79ff9e0004b6de4ec6ec692.tar.gz
eval-test: add some otherwise untested functions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/ref/fate/eval')
-rw-r--r--tests/ref/fate/eval15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval
index d58cc80ab3..73a45d1c94 100644
--- a/tests/ref/fate/eval
+++ b/tests/ref/fate/eval
@@ -217,5 +217,20 @@ Evaluating 'root(sin(ld(0))-1, 2)'
Evaluating 'root(sin(ld(0))+6+sin(ld(0)/12)-log(ld(0)), 100)'
'root(sin(ld(0))+6+sin(ld(0)/12)-log(ld(0)), 100)' -> 60.965601
+Evaluating '7000000B*random(0)'
+'7000000B*random(0)' -> 0.003078
+
+Evaluating 'squish(2)'
+'squish(2)' -> 0.000335
+
+Evaluating 'gauss(0.1)'
+'gauss(0.1)' -> 0.396953
+
+Evaluating 'hypot(4,3)'
+'hypot(4,3)' -> 5.000000
+
+Evaluating 'gcd(30,55)*min(9,1)'
+'gcd(30,55)*min(9,1)' -> 5.000000
+
12.700000 == 12.7
0.931323 == 0.931322575