We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b42eae7 commit 9c9677bCopy full SHA for 9c9677b
3 files changed
tests/runtime/cases/geu8.bas
@@ -0,0 +1,34 @@
1
+#include "lib/tst_framework.bas"
2
+
3
+DIM i AS uByte = 0
4
+DIM j AS uByte
5
+DIM ii, jj AS uInteger
6
+DIM Counter as ULong = 0
7
8
+INIT("Testing (ubyte) >= (ubyte) [GEu8]")
9
10
+DO
11
+ j = 0
12
+ ii = i
13
14
+ DO
15
+ jj = j
16
+ If (i >= j) XOR (ii >= jj) THEN
17
+ PRINT i; ">="; j; " = "; (i < j); " ";
18
+ REPORT_FAIL
19
+ End If
20
21
+ Counter = Counter + 1
22
+ j = j + 1
23
+ LOOP UNTIL j = 0
24
25
+ i = i + 1
26
+LOOP UNTIL i = 0
27
28
+IF Counter <> 65536 THEN
29
+ PRINT "Iterations: "; Counter; " ";
30
31
+ELSE
32
+ REPORT_OK
33
+END IF
34
tests/runtime/expected/geu8.tzx.scr
6.75 KB
tests/runtime/geu8.bas
0 commit comments