diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-02 19:55:26 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-02 19:55:26 +0100 |
commit | a05f5dd9528ba16df96d3ece581d5d0b2288b5ec (patch) | |
tree | 9e3a64d58929d4e133c250e020648d166e6689fd /tests | |
parent | e90eefc84b5d2e844194e8d51937c1801d8768fe (diff) | |
parent | ad1bac63f714550bc6e2b0a718ee155288254b7a (diff) |
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basics/string-format.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basics/string-format.py b/tests/basics/string-format.py index 290030a9e..8049c6f73 100644 --- a/tests/basics/string-format.py +++ b/tests/basics/string-format.py @@ -58,6 +58,9 @@ test("{:10.4f}", 123.456) test("{:10.4f}", -123.456) test("{:10.4g}", 123.456) test("{:10.4g}", -123.456) +test("{:e}", 100) +test("{:f}", 200) +test("{:g}", 300) test("{:10.4E}", 123.456) test("{:10.4E}", -123.456) |