aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-22 01:47:49 +0100
committerClément Bœsch <ubitux@gmail.com>2013-03-22 09:20:45 +0100
commit77f60f00111396b740bf44440f883010cc38514a (patch)
tree819735690f4dbca6d83416f277bc291563d04174 /tests
parentac9b056ddbefecf3e68e89af45d9c8e5172a5ff8 (diff)
downloadffmpeg-77f60f00111396b740bf44440f883010cc38514a.tar.gz
lavu/eval: add between() function.
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/eval9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval
index 0e76fe5996..97e0b20dd3 100644
--- a/tests/ref/fate/eval
+++ b/tests/ref/fate/eval
@@ -259,5 +259,14 @@ Evaluating 'bitand(42, 12)'
Evaluating 'bitand(NAN, 1)'
'bitand(NAN, 1)' -> nan
+Evaluating 'between(10, -3, 10)'
+'between(10, -3, 10)' -> 1.000000
+
+Evaluating 'between(-4, -2, -1)'
+'between(-4, -2, -1)' -> 0.000000
+
+Evaluating 'between(1,2)'
+'between(1,2)' -> nan
+
12.700000 == 12.7
0.931323 == 0.931322575