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

pull/2699/merge
Damien George 2016-12-20 14:01:10 +11:00
rodzic 7318949c46
commit 49bf7617d0
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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))