diff options
author | Damien George <damien.p.george@gmail.com> | 2015-04-04 22:05:30 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-04-04 22:05:30 +0100 |
commit | 9dd36404646f857c4f250537bac0d9a8ad041d25 (patch) | |
tree | c6509bcd3c7d5c2e67332110c582df2b5a5c669f /tests/float/builtin_float_round.py | |
parent | 7e758b1cf878312cab5d9d2825b36e7235ea10a3 (diff) | |
download | micropython-9dd36404646f857c4f250537bac0d9a8ad041d25.tar.gz micropython-9dd36404646f857c4f250537bac0d9a8ad041d25.zip |
tests: Add missing tests for builtins, and many other things.
Diffstat (limited to 'tests/float/builtin_float_round.py')
-rw-r--r-- | tests/float/builtin_float_round.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/float/builtin_float_round.py b/tests/float/builtin_float_round.py index afde6ff16c..6759d0fd5a 100644 --- a/tests/float/builtin_float_round.py +++ b/tests/float/builtin_float_round.py @@ -10,3 +10,7 @@ for t in tests: # check .5 cases 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)) |