summaryrefslogtreecommitdiff
path: root/ecomp-c/test1.e
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-03-29 19:41:18 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-03-29 19:41:18 +0200
commit1544c04dfeda290f59e3585b9e5bba526618da32 (patch)
treeda0d9f56929e98a65ec2d8209c9953c7da12ea65 /ecomp-c/test1.e
parent42e28d593ee56994e41e0f93b4e6c12ddf93ccb9 (diff)
downloadcompilertests-1544c04dfeda290f59e3585b9e5bba526618da32.tar.gz
compilertests-1544c04dfeda290f59e3585b9e5bba526618da32.tar.bz2
filled out the rest of compare operations
Diffstat (limited to 'ecomp-c/test1.e')
-rw-r--r--ecomp-c/test1.e12
1 files changed, 6 insertions, 6 deletions
diff --git a/ecomp-c/test1.e b/ecomp-c/test1.e
index 41d9f28..1a8f253 100644
--- a/ecomp-c/test1.e
+++ b/ecomp-c/test1.e
@@ -33,10 +33,10 @@ begin
e := ( ( 7 * a + b ) + 2 * ( b + a + 3 ) ) * 4 / 2; // ((7*8+7)+2*(7+8+3))*4/2=198 (C6 hex)
f := a - b; // should be 8-7=1
flag := INIT_STATE; // should be false
- flag := a = b; // flag should be true
- //flag := a <> b; // flag should be true
- //flag := a < b; // flag should be true
- //flag := a <= b; // flag should be true
- //flag := a > b; // flag should be true
- //flag := a >= b; // flag should be true
+ flag := a = b; // flag should be false
+ flag := a <> b; // flag should be true
+ flag := a < b; // flag should be false
+ flag := a <= b; // flag should be false
+ flag := a > b; // flag should be true
+ flag := a >= b; // flag should be false
end