summaryrefslogtreecommitdiffstats
path: root/test/04-function-logical.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/04-function-logical.txt')
-rw-r--r--test/04-function-logical.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/04-function-logical.txt b/test/04-function-logical.txt
new file mode 100644
index 0000000..86df420
--- /dev/null
+++ b/test/04-function-logical.txt
@@ -0,0 +1,12 @@
+%% Test case for built-in logical functions.
+%mode init
+A1:2
+A2:3
+A3=if(A1=A2,"equal","not equal")
+A4=if(A1<>A2,"not equal","equal")
+%calc
+%mode result
+A3="not equal"
+A4="not equal"
+%check
+%exit