summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/string1.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-04-04 22:05:30 +0100
committerDamien George <damien.p.george@gmail.com>2015-04-04 22:05:30 +0100
commit9dd36404646f857c4f250537bac0d9a8ad041d25 (patch)
treec6509bcd3c7d5c2e67332110c582df2b5a5c669f /tests/basics/string1.py
parent7e758b1cf878312cab5d9d2825b36e7235ea10a3 (diff)
downloadmicropython-9dd36404646f857c4f250537bac0d9a8ad041d25.tar.gz
micropython-9dd36404646f857c4f250537bac0d9a8ad041d25.zip
tests: Add missing tests for builtins, and many other things.
Diffstat (limited to 'tests/basics/string1.py')
-rw-r--r--tests/basics/string1.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/basics/string1.py b/tests/basics/string1.py
index b617cc786d..f58fcd401a 100644
--- a/tests/basics/string1.py
+++ b/tests/basics/string1.py
@@ -26,9 +26,11 @@ except IndexError:
# iter
print(list('str'))
+# comparison
print('123' + '789' == '123789')
print('a' + 'b' != 'a' + 'b ')
+print('1' + '2' > '2')
+print('1' + '2' < '2')
-# Not implemented so far
-# print('1' + '2' > '2')
-# print('1' + '2' < '2')
+# printing quote char in string
+print(repr('\'\"'))