kuroko/test/testComparisonOperatorFallbacks.krk.expect
K. Lange 70d5f1b2b7 Implement NotImplemented, fallback operators
Adds 'NOTIMPL' as a new primitive value, available from
__builtins__.NotImplemented. Adds support for inverse /
reflected overrides for binary operators. Adds opcodes
for LESS_EQUAL and GREATER_EQUAL.
2021-03-30 16:42:29 +09:00

34 lines
264 B
Plaintext

call lt 43
True
call gt 43
False
call gt 41
True
call lt 41
False
call ge 41
True
call ge 42
True
call le 43
True
call le 42
True
---
call lt 43
True
call gt 43
False
call gt 41
True
call lt 41
False
call ge 41
True
call ge 42
True
call le 43
True
call le 42
True