diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-07-14 15:31:14 +0400 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-07-14 15:43:10 +0400 |
commit | 2d497c141d1fb6df290cdf45404b01ea1697d618 (patch) | |
tree | 07ba64a5075dec978f791eafd68a06c795d60e2e /libavutil | |
parent | caac3ab6efde4fc9769e8a7472269356f262970a (diff) |
eval: add gt(), gte(), lt() and lte() fate tests
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/eval.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c index 77af2a371c..ff3191de62 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -596,6 +596,14 @@ int main(int argc, char **argv) "1Gi", "st(0, 123)", "st(1, 123); ld(1)", + "lte(0, 1)", + "lte(1, 1)", + "lte(1, 0)", + "lt(0, 1)", + "lt(1, 1)", + "gt(1, 0)", + "gt(2, 7)", + "gte(122, 122)", /* compute 1+2+...+N */ "st(0, 1); while(lte(ld(0), 100), st(1, ld(1)+ld(0));st(0, ld(0)+1)); ld(1)", /* compute Fib(N) */ |