diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-08 22:41:22 +0200 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-08 22:43:26 +0200 |
| commit | d944a66ead38b15b5a3c7a4ae8b054451fd5c077 (patch) | |
| tree | 9f998e3577bd5f4e145ac459c4241f81edbb9d79 /tests | |
| parent | 1143e5e72a9dd52d9f4d9b76876f297d15f5c50f (diff) | |
Add string comparison tests.
Use computed string to exercise string interning code better.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/basics/tests/string1.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/basics/tests/string1.py b/tests/basics/tests/string1.py index 9d6f21d13..3fecf799b 100644 --- a/tests/basics/tests/string1.py +++ b/tests/basics/tests/string1.py @@ -10,3 +10,10 @@ print('123' + "456") # iter print(list('str')) + +print('123' + '789' == '123789') +print('a' + 'b' != 'a' + 'b ') + +# Not implemented so far +# print('1' + '2' > '2') +# print('1' + '2' < '2') |
