X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/cc48bc56caa79b0d605e80302c32be0457cfde39..306a513137ec93a5053d415319e24bd4057d4045:/tests/data/numeric_literals.py?ds=sidebyside diff --git a/tests/data/numeric_literals.py b/tests/data/numeric_literals.py index 8999b9d..06b7f77 100644 --- a/tests/data/numeric_literals.py +++ b/tests/data/numeric_literals.py @@ -6,31 +6,39 @@ x = .1 x = 1. x = 1E+1 x = 1E-1 +x = 1.000_000_01 x = 123456789.123456789 x = 123456789.123456789E123456789 x = 123456789E123456789 x = 123456789J x = 123456789.123456789J -x = 0XB1ACC +x = 0Xb1aCc x = 0B1011 x = 0O777 +x = 0.000000006 +x = 10000 +x = 133333 # output #!/usr/bin/env python3.6 -x = 123_456_789 +x = 123456789 x = 123456 x = 0.1 x = 1.0 x = 1e1 x = 1e-1 -x = 123_456_789.123_456_789 -x = 123_456_789.123_456_789e123_456_789 -x = 123_456_789e123_456_789 -x = 123_456_789j -x = 123_456_789.123_456_789j +x = 1.000_000_01 +x = 123456789.123456789 +x = 123456789.123456789e123456789 +x = 123456789e123456789 +x = 123456789j +x = 123456789.123456789j x = 0xb1acc x = 0b1011 x = 0o777 +x = 0.000000006 +x = 10000 +x = 133333