Files
jak-project/test/goalc/source_templates/arithmetic/signed-int-compare.static.gc
T
water111 27f0a7ca44 [Decompiler] Begin expression conversion, rearrange tests (#209)
* refactor tests and analysis passes

* identity test working

* combine test categories with only a few cases

* more fixes
2021-01-23 16:32:56 -05:00

52 lines
717 B
Common Lisp

(let ((total 0))
(if (> 2 -1)
(+! total 1)
(+! total 999)
)
(if (> -20 3)
(+! total 999)
(+! total 1)
)
(if (> 1 1)
(+! total 999)
(+! total 1)
)
(if (< -1 2)
(+! total 1)
(+! total 999)
)
(if (< 2 -1)
(+! total 999)
(+! total 1)
)
(if (< 3 3)
(+! total 999)
(+! total 1)
)
(if (>= 2 -1)
(+! total 1)
(+! total 999)
)
(if (>= -20 3)
(+! total 999)
(+! total 1)
)
(if (>= 1 1)
(+! total 1)
(+! total 999)
)
(if (<= -1 2)
(+! total 1)
(+! total 999)
)
(if (<= 2 -1)
(+! total 999)
(+! total 1)
)
(if (<= 3 3)
(+! total 1)
(+! total 999)
)
total
)