summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/tuple_compare.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-18 21:42:54 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-18 21:42:54 +0300
commit83eba5dec5b8ed7134a2a27a8824d271acee5711 (patch)
tree93fa2ecc03856424c37b43abc84e6b7b9fc3326b /tests/basics/tuple_compare.py
parent7de5377ca7eeb7828031f83be417cda3a188069b (diff)
downloadmicropython-83eba5dec5b8ed7134a2a27a8824d271acee5711.tar.gz
micropython-83eba5dec5b8ed7134a2a27a8824d271acee5711.zip
sequence: Fix glaring bug in sequence comparison.
Diffstat (limited to 'tests/basics/tuple_compare.py')
-rw-r--r--tests/basics/tuple_compare.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/basics/tuple_compare.py b/tests/basics/tuple_compare.py
index 8bdb2bcf98..ad813f7029 100644
--- a/tests/basics/tuple_compare.py
+++ b/tests/basics/tuple_compare.py
@@ -48,3 +48,8 @@ print((1,) <= (1, 0,))
print((1,) <= (1, -1,))
print((1, 0,) <= (1,))
print((1, -1,) <= (1,))
+
+print((10, 0) > (1, 1))
+print((10, 0) < (1, 1))
+print((0, 0, 10, 0) > (0, 0, 1, 1))
+print((0, 0, 10, 0) < (0, 0, 1, 1))