mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
tests/string-format: Add test for formatting ints with float format.
Fail currently.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user