circuitpython/tests/micropython/viper_binop_comp_imm.py
Scott Shawcroft b057fb8a4b
codeformat
2021-04-19 22:22:44 -07:00

11 lines
163 B
Python

# comparisons with immediate boundary values
@micropython.viper
def f(a: int):
print(a == -1, a == -255, a == -256, a == -257)
f(-1)
f(-255)
f(-256)
f(-257)