summaryrefslogtreecommitdiffstats
path: root/test/04-function-and.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-and.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-and.txt')
-rw-r--r--test/04-function-and.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/04-function-and.txt b/test/04-function-and.txt
new file mode 100644
index 0000000..74300f9
--- /dev/null
+++ b/test/04-function-and.txt
@@ -0,0 +1,34 @@
+%% AND function
+%mode init
+A1:12
+A2:23
+A3:34
+A4:0
+A11=1
+A12=2
+A13=3
+A14=0
+A20@string value
+A21="string result"
+B1=AND(A1:A10)
+B2=AND(A1:A3)
+B3=AND(A11:A13)
+B4=AND(A11:A14)
+B5=AND(1,2,3)
+B6=AND(2,0,-1)
+B7=AND(2,"str",22)
+B8=AND(A1,A2,A3,A20,A21)
+B9=AND(A1,A14,A21)
+%calc
+%mode result
+B1=false
+B2=true
+B3=true
+B4=false
+B5=true
+B6=false
+B7=true
+B8=true
+B9=false
+%check
+%exit