summaryrefslogtreecommitdiffstats
path: root/test/13-relational-operators-01.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/13-relational-operators-01.txt
parentInitial commit. (diff)
downloadlibixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.tar.xz
libixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.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/13-relational-operators-01.txt')
-rw-r--r--test/13-relational-operators-01.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/13-relational-operators-01.txt b/test/13-relational-operators-01.txt
new file mode 100644
index 0000000..8ce4434
--- /dev/null
+++ b/test/13-relational-operators-01.txt
@@ -0,0 +1,30 @@
+%% Test for relational operators with in-line numbers.
+%mode init
+A1=1=1
+A2=1=2
+A3=1*6=2*3
+A4=1<4
+A5=4<4
+A6=4>2
+A7=68>123
+A8=1>=1
+A9=1>=2
+A10=2>=0
+A11=45<>12
+A12=33<>33
+%calc
+%mode result
+A1=1
+A2=0
+A3=1
+A4=1
+A5=0
+A6=1
+A7=0
+A8=1
+A9=0
+A10=1
+A11=1
+A12=0
+%check
+%exit