aboutsummaryrefslogtreecommitdiff
path: root/tests/float/float1.py
diff options
context:
space:
mode:
authorDamien George2015-04-04 23:16:22 +0100
committerDamien George2015-04-04 23:16:22 +0100
commit97abe22963af5b62656cef5a46c195215f75f7d2 (patch)
tree40929dd2cac2ee1e03af4edd5d3fb870f9ac989f /tests/float/float1.py
parent9dd36404646f857c4f250537bac0d9a8ad041d25 (diff)
tests: Add tests to exercise lexer; and some more complex number tests.
Diffstat (limited to 'tests/float/float1.py')
-rw-r--r--tests/float/float1.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/float/float1.py b/tests/float/float1.py
index 2539d89dc..bb670586a 100644
--- a/tests/float/float1.py
+++ b/tests/float/float1.py
@@ -1,5 +1,10 @@
# test basic float capabilities
+# literals
+print(.12)
+print(1.)
+print(1.2)
+
# float construction
print(float(1.2))