micropython: add micropython component
This commit is contained in:
7
components/language/micropython/tests/basics/int2.py
Normal file
7
components/language/micropython/tests/basics/int2.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# test basic int operations
|
||||
|
||||
# test conversion of bool on RHS of binary op
|
||||
a = False
|
||||
print(1 + a)
|
||||
a = True
|
||||
print(1 + a)
|
Reference in New Issue
Block a user