diff options
Diffstat (limited to '')
-rw-r--r-- | test/13-relational-operators-02.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/13-relational-operators-02.txt b/test/13-relational-operators-02.txt new file mode 100644 index 0000000..a9ab67e --- /dev/null +++ b/test/13-relational-operators-02.txt @@ -0,0 +1,23 @@ +%% Test for relational operators with referenced numbers. +%mode init +A1:1 +A2:2 +A3:3 +A4=A1<A2 +A5=A1>A2 +A6=A1<>A2 +A7=A1>=A2 +A8=A1<=A2 +A9=(A1+A2)=A3 +A10=A1=A2 +%calc +%mode result +A4=1 +A5=0 +A6=1 +A7=0 +A8=1 +A9=1 +A10=0 +%check +%exit |