micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# test round() with integral values
|
||||
|
||||
tests = [
|
||||
False, True,
|
||||
0, 1, -1, 10
|
||||
]
|
||||
for t in tests:
|
||||
print(round(t))
|
Reference in New Issue
Block a user