diff options
Diffstat (limited to 'tests/eval')
-rw-r--r-- | tests/eval/buildfile | 12 | ||||
-rw-r--r-- | tests/eval/test.out | 7 |
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/eval/buildfile b/tests/eval/buildfile index b1e5350..f26a9a0 100644 --- a/tests/eval/buildfile +++ b/tests/eval/buildfile @@ -58,3 +58,15 @@ n = print ($n == ) n = {} print ($n == "") + +#print ([uint64] 01 == [string] 01) + +# <, <=, >, >= evaluation +# +print (a < b) +print (a b > a a) +print (123 <= 123) +print ([uint64] 02 > [uint64] 01) +print (a > [null]) +print ([uint64] 02 > [null]) +print ($build.version > 30000) diff --git a/tests/eval/test.out b/tests/eval/test.out index bad003e..555853f 100644 --- a/tests/eval/test.out +++ b/tests/eval/test.out @@ -27,3 +27,10 @@ true true true true +true +true +true +true +true +true +true |