summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-03-12 22:47:44 +0000
committerDamien George <damien.p.george@gmail.com>2015-03-12 22:48:45 +0000
commitaf43565322f5c45a1a92df1afceff24c93021998 (patch)
tree0334982a350b9201b8e0b256dc7c04dff8b3ea77 /tests/float
parent848dd0e7620b086f984fc6254afc8202d5448a77 (diff)
downloadmicropython-af43565322f5c45a1a92df1afceff24c93021998.tar.gz
micropython-af43565322f5c45a1a92df1afceff24c93021998.zip
tests: Add tests for things that are not already tested.
The aim here is to improve coverage of the code.
Diffstat (limited to 'tests/float')
-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 5971e6d0a7..7b5887ff0b 100644
--- a/tests/float/float1.py
+++ b/tests/float/float1.py
@@ -2,6 +2,11 @@
x = 1 / 2
print(x)
+# /= operator
+a = 1
+a /= 2
+print(a)
+
print(1.0 // 2)
print(2.0 // 2)