summaryrefslogtreecommitdiffstats
path: root/test/04-function-iserror.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
commit00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 (patch)
treea6a58bd544eb0b76b9d3acc678ea88791acca045 /test/04-function-iserror.txt
parentInitial commit. (diff)
downloadlibixion-upstream.tar.xz
libixion-upstream.zip
Adding upstream version 0.19.0.upstream/0.19.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/04-function-iserror.txt')
-rw-r--r--test/04-function-iserror.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/04-function-iserror.txt b/test/04-function-iserror.txt
new file mode 100644
index 0000000..5346e0d
--- /dev/null
+++ b/test/04-function-iserror.txt
@@ -0,0 +1,24 @@
+%% Test case for built-in ISERROR function.
+%mode init
+A1:10
+A2=10/2
+A3=2/0
+A4=NonExistingName
+B1=ISERROR(A1)
+B2=ISERROR(A2)
+B3=ISERROR(A3)
+B4=ISERROR(A4)
+C4=ISERROR(5.2)
+C5=ISERROR("inline text")
+C6=ISERROR(NA())
+%calc
+%mode result
+B1=false
+B2=false
+B3=true
+B4=true
+C4=false
+C5=false
+C6=true
+%check
+