diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-03-22 04:47:49 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-03-22 12:20:45 +0400 |
commit | 77f60f00111396b740bf44440f883010cc38514a (patch) | |
tree | 819735690f4dbca6d83416f277bc291563d04174 /tests | |
parent | ac9b056ddbefecf3e68e89af45d9c8e5172a5ff8 (diff) |
lavu/eval: add between() function.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/fate/eval | 9 |
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 |