diff options
Diffstat (limited to 'spec/inputs/cond.yue')
-rw-r--r-- | spec/inputs/cond.yue | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/inputs/cond.yue b/spec/inputs/cond.yue index 638b5c3..df7d78e 100644 --- a/spec/inputs/cond.yue +++ b/spec/inputs/cond.yue | |||
@@ -226,6 +226,17 @@ do | |||
226 | else | 226 | else |
227 | 2 | 227 | 2 |
228 | 228 | ||
229 | do | ||
230 | condChain = 1 < 2 <= 2 < 3 == 3 > 2 >= 1 == 1 < 3 != 5 | ||
231 | |||
232 | v = (x)-> | ||
233 | print x | ||
234 | x | ||
235 | |||
236 | evaluation = v(1) < v(2) <= v(3) | ||
237 | |||
238 | evaluation = v(1) > v(2) <= v(3) | ||
239 | |||
229 | nil | 240 | nil |
230 | 241 | ||
231 | 242 | ||