1 Tests find for strings with kana letters 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(decomposedHalfwidthKatakanaLetterBa, decomposedHalfwidthKatakanaLetterBa) is true
9 PASS canFind(decomposedHalfwidthKatakanaLetterPa, decomposedHalfwidthKatakanaLetterPa) is true
10 PASS canFind(decomposedHiraganaLetterBa, decomposedHiraganaLetterBa) is true
11 PASS canFind(decomposedHiraganaLetterGa, decomposedHiraganaLetterGa) is true
12 PASS canFind(decomposedHiraganaLetterPa, decomposedHiraganaLetterPa) is true
13 PASS canFind(decomposedKatakanaLetterGa, decomposedKatakanaLetterGa) is true
14 PASS canFind(decomposedLatinCapitalLetterAWithGrave, decomposedLatinCapitalLetterAWithGrave) is true
15 PASS canFind(halfwidthKatakanaLetterA, halfwidthKatakanaLetterA) is true
16 PASS canFind(halfwidthKatakanaLetterHa, halfwidthKatakanaLetterHa) is true
17 PASS canFind(halfwidthKatakanaLetterKa, halfwidthKatakanaLetterKa) is true
18 PASS canFind(halfwidthKatakanaLetterSmallA, halfwidthKatakanaLetterSmallA) is true
19 PASS canFind(hiraganaLetterA, hiraganaLetterA) is true
20 PASS canFind(hiraganaLetterBa, hiraganaLetterBa) is true
21 PASS canFind(hiraganaLetterGa, hiraganaLetterGa) is true
22 PASS canFind(hiraganaLetterHa, hiraganaLetterHa) is true
23 PASS canFind(hiraganaLetterKa, hiraganaLetterKa) is true
24 PASS canFind(hiraganaLetterPa, hiraganaLetterPa) is true
25 PASS canFind(hiraganaLetterSmallA, hiraganaLetterSmallA) is true
26 PASS canFind(katakanaLetterA, katakanaLetterA) is true
27 PASS canFind(katakanaLetterGa, katakanaLetterGa) is true
28 PASS canFind(katakanaLetterKa, katakanaLetterKa) is true
29 PASS canFind(katakanaLetterSmallA, katakanaLetterSmallA) is true
30 PASS canFind(latinCapitalLetterAWithGrave, latinCapitalLetterAWithGrave) is true
32 Hiragana, katakana, and half width katakana: Must be treated as equal
34 PASS canFind(decomposedHiraganaLetterGa, decomposedKatakanaLetterGa) is true
35 PASS canFind(decomposedKatakanaLetterGa, decomposedHiraganaLetterGa) is true
36 PASS canFind(hiraganaLetterA, halfwidthKatakanaLetterA) is true
37 PASS canFind(hiraganaLetterA, katakanaLetterA) is true
38 PASS canFind(katakanaLetterSmallA, hiraganaLetterSmallA) is true
40 Composed and decomposed forms: Must be treated as equal
42 PASS canFind(decomposedHiraganaLetterBa, hiraganaLetterBa) is true
43 PASS canFind(decomposedHiraganaLetterGa, decomposedKatakanaLetterGa) is true
44 PASS canFind(decomposedHiraganaLetterGa, hiraganaLetterGa) is true
45 PASS canFind(decomposedHiraganaLetterGa, katakanaLetterGa) is true
46 PASS canFind(decomposedHiraganaLetterPa, hiraganaLetterPa) is true
47 PASS canFind(decomposedKatakanaLetterGa, decomposedHiraganaLetterGa) is true
48 PASS canFind(decomposedLatinCapitalLetterAWithGrave, latinCapitalLetterAWithGrave) is true
49 PASS canFind(hiraganaLetterBa, decomposedHiraganaLetterBa) is true
50 PASS canFind(hiraganaLetterGa, decomposedHiraganaLetterGa) is true
51 PASS canFind(hiraganaLetterPa, decomposedHiraganaLetterPa) is true
52 PASS canFind(katakanaLetterGa, decomposedHiraganaLetterGa) is true
53 PASS canFind(latinCapitalLetterAWithGrave, decomposedLatinCapitalLetterAWithGrave) is true
55 Small and non-small kana letters: Must *not* be treated as equal
57 PASS canFind(halfwidthKatakanaLetterA, hiraganaLetterSmallA) is false
58 PASS canFind(halfwidthKatakanaLetterSmallA, halfwidthKatakanaLetterA) is false
59 PASS canFind(hiraganaLetterA, hiraganaLetterSmallA) is false
60 PASS canFind(hiraganaLetterSmallA, katakanaLetterA) is false
61 PASS canFind(katakanaLetterA, halfwidthKatakanaLetterSmallA) is false
62 PASS canFind(katakanaLetterSmallA, katakanaLetterA) is false
64 Kana letters where the only difference is in voiced sound marks: Must *not* be treated as equal
66 PASS canFind(decomposedHalfwidthKatakanaLetterBa, halfwidthKatakanaLetterHa) is false
67 PASS canFind(decomposedHalfwidthKatakanaLetterPa, halfwidthKatakanaLetterHa) is false
68 PASS canFind(decomposedHiraganaLetterBa, hiraganaLetterHa) is false
69 PASS canFind(decomposedHiraganaLetterBa, hiraganaLetterPa) is false
70 PASS canFind(decomposedHiraganaLetterGa, halfwidthKatakanaLetterKa) is false
71 PASS canFind(decomposedHiraganaLetterGa, hiraganaLetterKa) is false
72 PASS canFind(decomposedHiraganaLetterPa, hiraganaLetterBa) is false
73 PASS canFind(decomposedHiraganaLetterPa, hiraganaLetterHa) is false
74 PASS canFind(decomposedKatakanaLetterGa, halfwidthKatakanaLetterKa) is false
75 PASS canFind(decomposedKatakanaLetterGa, hiraganaLetterKa) is false
76 PASS canFind(halfwidthKatakanaLetterHa, decomposedHalfwidthKatakanaLetterBa) is false
77 PASS canFind(halfwidthKatakanaLetterHa, decomposedHalfwidthKatakanaLetterPa) is false
78 PASS canFind(halfwidthKatakanaLetterKa, decomposedHiraganaLetterGa) is false
79 PASS canFind(halfwidthKatakanaLetterKa, decomposedKatakanaLetterGa) is false
80 PASS canFind(hiraganaLetterBa, decomposedHiraganaLetterPa) is false
81 PASS canFind(hiraganaLetterBa, hiraganaLetterHa) is false
82 PASS canFind(hiraganaLetterBa, hiraganaLetterPa) is false
83 PASS canFind(hiraganaLetterGa, hiraganaLetterKa) is false
84 PASS canFind(hiraganaLetterHa, decomposedHiraganaLetterBa) is false
85 PASS canFind(hiraganaLetterHa, decomposedHiraganaLetterPa) is false
86 PASS canFind(hiraganaLetterHa, hiraganaLetterBa) is false
87 PASS canFind(hiraganaLetterHa, hiraganaLetterPa) is false
88 PASS canFind(hiraganaLetterKa, decomposedHiraganaLetterGa) is false
89 PASS canFind(hiraganaLetterKa, decomposedKatakanaLetterGa) is false
90 PASS canFind(hiraganaLetterKa, hiraganaLetterGa) is false
91 PASS canFind(hiraganaLetterPa, decomposedHiraganaLetterBa) is false
92 PASS canFind(hiraganaLetterPa, hiraganaLetterBa) is false
93 PASS canFind(hiraganaLetterPa, hiraganaLetterHa) is false
95 Composed/decomposed form differences before kana characters must have no effect
97 PASS canFind(decomposedLatinCapitalLetterAWithGrave + halfwidthKatakanaLetterA, latinCapitalLetterAWithGrave + hiraganaLetterSmallA) is false
98 PASS canFind(decomposedLatinCapitalLetterAWithGrave + halfwidthKatakanaLetterSmallA, latinCapitalLetterAWithGrave + halfwidthKatakanaLetterA) is false
99 PASS canFind(decomposedLatinCapitalLetterAWithGrave + hiraganaLetterA, latinCapitalLetterAWithGrave + hiraganaLetterSmallA) is false
100 PASS canFind(decomposedLatinCapitalLetterAWithGrave + hiraganaLetterGa, latinCapitalLetterAWithGrave + hiraganaLetterGa) is true
101 PASS canFind(decomposedLatinCapitalLetterAWithGrave + hiraganaLetterGa, latinCapitalLetterAWithGrave + hiraganaLetterKa) is false
102 PASS canFind(decomposedLatinCapitalLetterAWithGrave + hiraganaLetterKa, latinCapitalLetterAWithGrave + hiraganaLetterGa) is false
103 PASS canFind(decomposedLatinCapitalLetterAWithGrave + hiraganaLetterSmallA, latinCapitalLetterAWithGrave + katakanaLetterA) is false
104 PASS canFind(decomposedLatinCapitalLetterAWithGrave + katakanaLetterA, latinCapitalLetterAWithGrave + halfwidthKatakanaLetterSmallA) is false
105 PASS canFind(decomposedLatinCapitalLetterAWithGrave + katakanaLetterSmallA, latinCapitalLetterAWithGrave + katakanaLetterA) is false
106 PASS canFind(latinCapitalLetterAWithGrave + halfwidthKatakanaLetterA, decomposedLatinCapitalLetterAWithGrave + hiraganaLetterSmallA) is false
107 PASS canFind(latinCapitalLetterAWithGrave + halfwidthKatakanaLetterSmallA, decomposedLatinCapitalLetterAWithGrave + halfwidthKatakanaLetterA) is false
108 PASS canFind(latinCapitalLetterAWithGrave + hiraganaLetterA, decomposedLatinCapitalLetterAWithGrave + hiraganaLetterSmallA) is false
109 PASS canFind(latinCapitalLetterAWithGrave + hiraganaLetterGa, decomposedLatinCapitalLetterAWithGrave + hiraganaLetterGa) is true
110 PASS canFind(latinCapitalLetterAWithGrave + hiraganaLetterGa, decomposedLatinCapitalLetterAWithGrave + hiraganaLetterKa) is false
111 PASS canFind(latinCapitalLetterAWithGrave + hiraganaLetterKa, decomposedLatinCapitalLetterAWithGrave + hiraganaLetterGa) is false
112 PASS canFind(latinCapitalLetterAWithGrave + hiraganaLetterSmallA, decomposedLatinCapitalLetterAWithGrave + katakanaLetterA) is false
113 PASS canFind(latinCapitalLetterAWithGrave + katakanaLetterA, decomposedLatinCapitalLetterAWithGrave + halfwidthKatakanaLetterSmallA) is false
114 PASS canFind(latinCapitalLetterAWithGrave + katakanaLetterSmallA, decomposedLatinCapitalLetterAWithGrave + katakanaLetterA) is false
116 PASS successfullyParsed is true