tests: Add tests for unicode find()/rfind()/index().

This commit is contained in:
Paul Sokolovsky 2014-06-14 03:36:06 +03:00
parent 5048df0b7c
commit b1949e4c09
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
print("Привет".find("т"))
print("Привет".find("П"))
print("Привет".rfind("т"))
print("Привет".rfind("П"))
print("Привет".index("т"))
print("Привет".index("П"))