summaryrefslogtreecommitdiffstats
path: root/test/04-function-isblank.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/04-function-isblank.txt')
-rw-r--r--test/04-function-isblank.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/test/04-function-isblank.txt b/test/04-function-isblank.txt
new file mode 100644
index 0000000..30a320d
--- /dev/null
+++ b/test/04-function-isblank.txt
@@ -0,0 +1,40 @@
+%% Test for ISBLANK function.
+%mode init
+A1:2
+A2=A1
+A3@
+B1=ISBLANK(A1)
+B2=ISBLANK(A2)
+B3=ISBLANK(A3)
+B4=ISBLANK(A4)
+B5=ISBLANK(1)
+B6=ISBLANK("string")
+C1:2
+C2:3
+C6@str1
+C7@str2
+C10:10
+D1=ISBLANK(C1:C3)
+D2=ISBLANK(C3:C5)
+D3=ISBLANK(C3:C6)
+D4=ISBLANK(C2:C6)
+D5=ISBLANK(C7:C8)
+D6=ISBLANK(C8:C9)
+D7=ISBLANK(C11:C13)
+%calc
+%mode result
+B1=false
+B2=false
+B3=false
+B4=true
+B5=false
+B6=false
+D1=false
+D2=true
+D3=false
+D4=false
+D5=false
+D6=true
+D7=true
+%check
+%exit