Skip to content
Snippets Groups Projects
Commit 49bf7617 authored by Damien George's avatar Damien George
Browse files

tests/float/builtin_float_round: Test round() with second arg.

parent 7318949c
No related branches found
No related tags found
No related merge requests found
......@@ -13,5 +13,5 @@ for i in range(11):
print(round((i - 5) / 2))
# test second arg
# TODO uPy currently only supports second arg being 0
print(round(1.4, 0))
for i in range(-1, 3):
print(round(1.47, i))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment