diff options
author | Stephen Roantree <stroantree@gmail.com> | 2012-10-07 22:34:12 +0100 |
---|---|---|
committer | Stephen Roantree <stroantree@gmail.com> | 2012-10-07 22:34:12 +0100 |
commit | 0618e61e0bd0a58cd222bb4905c51178fe332525 (patch) | |
tree | 523b2bdf785927f6f431b341662453231e5c5c02 /testdata | |
parent | a2643cc0d564033c49bffbd0de9a8e797281e73f (diff) |
Add <,>,<=,>= binops
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -348,3 +348,12 @@ def inc(x): x |= .+1; inc(.[].a) [.[] | not] [1,0,false,null,true,"hello"] [false,false,true,true,false,false] + +# Check numeric comparison binops +[10 > 0, 10 > 10, 10 > 20, 10 < 0, 10 < 10, 10 < 20] +{} +[true,false,false,false,false,true] + +[10 >= 0, 10 >= 10, 10 >= 20, 10 <= 0, 10 <= 10, 10 <= 20] +{} +[true,true,false,false,true,true]
\ No newline at end of file |