1 Tests find for strings with Russian letters й and ё in them.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Exact matches first as a baseline
8 PASS canFind(decomposedCyrillicShortI, decomposedCyrillicShortI) is true
9 PASS canFind(decomposedCyrillicSmallShortI, decomposedCyrillicSmallShortI) is true
10 PASS canFind(letterCyrillicShortI, letterCyrillicShortI) is true
11 PASS canFind(letterCyrillicSmallShortI, letterCyrillicSmallShortI) is true
12 PASS canFind("й", "йод") is true
13 PASS canFind("ё", "мумиё") is true
15 Composed and decomposed forms: Must be treated as equal
17 PASS canFind(decomposedCyrillicYO, decomposedCyrillicYO) is true
18 PASS canFind(decomposedCyrillicSmallYO, decomposedCyrillicSmallYO) is true
19 PASS canFind(letterCyrillicShortI, decomposedCyrillicShortI) is true
20 PASS canFind(letterCyrillicSmallShortI, decomposedCyrillicSmallShortI) is true
21 PASS canFind(letterCyrillicYO, decomposedCyrillicYO) is true
22 PASS canFind(letterCyrillicSmallYO, decomposedCyrillicSmallYO) is true
23 PASS canFind(decomposedCyrillicShortI, letterCyrillicShortI) is true
24 PASS canFind(decomposedCyrillicSmallShortI, letterCyrillicSmallShortI) is true
25 PASS canFind(decomposedCyrillicYO, letterCyrillicYO) is true
26 PASS canFind(decomposedCyrillicSmallYO, letterCyrillicSmallYO) is true
28 Small and capital letters: Must be treated as equal
30 PASS canFind(letterCyrillicSmallI, letterCyrillicI) is true
31 PASS canFind(letterCyrillicSmallYO, letterCyrillicYO) is true
32 PASS canFind(letterCyrillicI, letterCyrillicSmallI) is true
33 PASS canFind(letterCyrillicYO, letterCyrillicSmallYO) is true
34 PASS canFind(decomposedCyrillicSmallShortI, letterCyrillicI) is true
35 PASS canFind(decomposedCyrillicSmallYO, letterCyrillicYO) is true
36 PASS canFind(decomposedCyrillicShortI, letterCyrillicSmallI) is true
37 PASS canFind(decomposedCyrillicYO, letterCyrillicSmallYO) is true
38 PASS canFind(letterCyrillicSmallI + letterCyrillicSmallYO, letterCyrillicSmallI + letterCyrillicYO) is true
39 PASS canFind("й", "Йод") is true
40 PASS canFind("ё", "МУМИЁ") is true
41 PASS canFind("Й", "йод") is true
42 PASS canFind("Ё", "мумиё") is true
44 Е and Ё: Must be treated as equal
46 PASS canFind("мумие", "мумиё") is true
47 PASS canFind("МУМИЕ", "МУМИЁ") is true
48 PASS canFind("мумиё", "мумие") is true
49 PASS canFind("МУМИЁ", "МУМИЕ") is true
51 Й and и: Must *not* be treated as equal
53 PASS canFind("зайка", "заика") is false
54 FAIL canFind("заика", "зайка") should be false. Was true.
56 PASS successfullyParsed is true