-
Notifications
You must be signed in to change notification settings - Fork 4
/
parser_test.go
430 lines (425 loc) · 19 KB
/
parser_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
package avro
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestBasic(t *testing.T) {
assert.Equal(t, "ভ্ল", MustParse("bhl"))
assert.Equal(t, "ব্জ", MustParse("bj"))
assert.Equal(t, "ব্দ", MustParse("bd"))
assert.Equal(t, "ব্ব", MustParse("bb"))
assert.Equal(t, "ব্ল", MustParse("bl"))
assert.Equal(t, "ভ", MustParse("bh"))
assert.Equal(t, "ভ্ল", MustParse("vl"))
assert.Equal(t, "ব", MustParse("b"))
assert.Equal(t, "ভ", MustParse("v"))
assert.Equal(t, "চ্ঞ", MustParse("cNG"))
assert.Equal(t, "চ্ছ", MustParse("cch"))
assert.Equal(t, "চ্চ", MustParse("cc"))
assert.Equal(t, "ছ", MustParse("ch"))
assert.Equal(t, "চ", MustParse("c"))
assert.Equal(t, "ধ্ন", MustParse("dhn"))
assert.Equal(t, "ধ্ম", MustParse("dhm"))
assert.Equal(t, "দ্ঘ", MustParse("dgh"))
assert.Equal(t, "দ্ধ", MustParse("ddh"))
assert.Equal(t, "দ্ভ", MustParse("dbh"))
assert.Equal(t, "দ্ভ", MustParse("dv"))
assert.Equal(t, "দ্ম", MustParse("dm"))
assert.Equal(t, "ড্ড", MustParse("DD"))
assert.Equal(t, "ঢ", MustParse("Dh"))
assert.Equal(t, "ধ", MustParse("dh"))
assert.Equal(t, "দ্গ", MustParse("dg"))
assert.Equal(t, "দ্দ", MustParse("dd"))
assert.Equal(t, "ড", MustParse("D"))
assert.Equal(t, "দ", MustParse("d"))
assert.Equal(t, "...", MustParse("..."))
assert.Equal(t, ".", MustParse(".`"))
assert.Equal(t, "।।", MustParse(".."))
assert.Equal(t, "।", MustParse("."))
assert.Equal(t, "ঘ্ন", MustParse("ghn"))
assert.Equal(t, "ঘ্ন", MustParse("Ghn"))
assert.Equal(t, "গ্ধ", MustParse("gdh"))
assert.Equal(t, "গ্ণ", MustParse("gN"))
assert.Equal(t, "গ্ণ", MustParse("GN"))
assert.Equal(t, "গ্ন", MustParse("gn"))
assert.Equal(t, "গ্ম", MustParse("gm"))
assert.Equal(t, "গ্ম", MustParse("Gm"))
assert.Equal(t, "গ্ল", MustParse("gl"))
assert.Equal(t, "গ্ল", MustParse("Gl"))
assert.Equal(t, "জ্ঞ", MustParse("gg"))
assert.Equal(t, "জ্ঞ", MustParse("GG"))
assert.Equal(t, "জ্ঞ", MustParse("Gg"))
assert.Equal(t, "জ্ঞ", MustParse("gG"))
assert.Equal(t, "ঘ", MustParse("gh"))
assert.Equal(t, "ঘ", MustParse("Gh"))
assert.Equal(t, "গ", MustParse("g"))
assert.Equal(t, "হ্ণ", MustParse("hN"))
assert.Equal(t, "হ্ন", MustParse("hn"))
assert.Equal(t, "হ্ম", MustParse("hm"))
assert.Equal(t, "হ্ল", MustParse("hl"))
assert.Equal(t, "হ", MustParse("h"))
assert.Equal(t, "জ্ঝ", MustParse("jjh"))
assert.Equal(t, "জ্ঞ", MustParse("jNG"))
assert.Equal(t, "ঝ", MustParse("jh"))
assert.Equal(t, "জ্জ", MustParse("jj"))
assert.Equal(t, "জ", MustParse("j"))
assert.Equal(t, "জ", MustParse("J"))
assert.Equal(t, "ক্ষ্ণ", MustParse("kkhN"))
assert.Equal(t, "ক্ষ্ণ", MustParse("kShN"))
assert.Equal(t, "ক্ষ্ম", MustParse("kkhm"))
assert.Equal(t, "ক্ষ্ম", MustParse("kShm"))
assert.Equal(t, "ক্ষ্ণ", MustParse("kxN"))
assert.Equal(t, "ক্ষ্ম", MustParse("kxm"))
assert.Equal(t, "ক্ষ", MustParse("kkh"))
assert.Equal(t, "ক্ষ", MustParse("kSh"))
assert.Equal(t, "কশ", MustParse("ksh"))
assert.Equal(t, "ক্ষ", MustParse("kx"))
assert.Equal(t, "ক্ক", MustParse("kk"))
assert.Equal(t, "ক্ট", MustParse("kT"))
assert.Equal(t, "ক্ত", MustParse("kt"))
assert.Equal(t, "ক্ল", MustParse("kl"))
assert.Equal(t, "ক্স", MustParse("ks"))
assert.Equal(t, "খ", MustParse("kh"))
assert.Equal(t, "ক", MustParse("k"))
assert.Equal(t, "ল্ভ", MustParse("lbh"))
assert.Equal(t, "ল্ধ", MustParse("ldh"))
assert.Equal(t, "লখ", MustParse("lkh"))
assert.Equal(t, "লঘ", MustParse("lgh"))
assert.Equal(t, "লফ", MustParse("lph"))
assert.Equal(t, "ল্ক", MustParse("lk"))
assert.Equal(t, "ল্গ", MustParse("lg"))
assert.Equal(t, "ল্ট", MustParse("lT"))
assert.Equal(t, "ল্ড", MustParse("lD"))
assert.Equal(t, "ল্প", MustParse("lp"))
assert.Equal(t, "ল্ভ", MustParse("lv"))
assert.Equal(t, "ল্ম", MustParse("lm"))
assert.Equal(t, "ল্ল", MustParse("ll"))
assert.Equal(t, "ল্ব", MustParse("lb"))
assert.Equal(t, "ল", MustParse("l"))
assert.Equal(t, "ম্থ", MustParse("mth"))
assert.Equal(t, "ম্ফ", MustParse("mph"))
assert.Equal(t, "ম্ভ", MustParse("mbh"))
assert.Equal(t, "মপ্ল", MustParse("mpl"))
assert.Equal(t, "ম্ন", MustParse("mn"))
assert.Equal(t, "ম্প", MustParse("mp"))
assert.Equal(t, "ম্ভ", MustParse("mv"))
assert.Equal(t, "ম্ম", MustParse("mm"))
assert.Equal(t, "ম্ল", MustParse("ml"))
assert.Equal(t, "ম্ব", MustParse("mb"))
assert.Equal(t, "ম্ফ", MustParse("mf"))
assert.Equal(t, "ম", MustParse("m"))
assert.Equal(t, "০", MustParse("0"))
assert.Equal(t, "১", MustParse("1"))
assert.Equal(t, "২", MustParse("2"))
assert.Equal(t, "৩", MustParse("3"))
assert.Equal(t, "৪", MustParse("4"))
assert.Equal(t, "৫", MustParse("5"))
assert.Equal(t, "৬", MustParse("6"))
assert.Equal(t, "৭", MustParse("7"))
assert.Equal(t, "৮", MustParse("8"))
assert.Equal(t, "৯", MustParse("9"))
assert.Equal(t, "ঙ্ক্ষ", MustParse("NgkSh"))
assert.Equal(t, "ঙ্ক্ষ", MustParse("Ngkkh"))
assert.Equal(t, "ঞ্ছ", MustParse("NGch"))
assert.Equal(t, "ঙ্ঘ", MustParse("Nggh"))
assert.Equal(t, "ঙ্খ", MustParse("Ngkh"))
assert.Equal(t, "ঞ্ঝ", MustParse("NGjh"))
assert.Equal(t, "ঙ্গৌ", MustParse("ngOU"))
assert.Equal(t, "ঙ্গৈ", MustParse("ngOI"))
assert.Equal(t, "ঙ্ক্ষ", MustParse("Ngkx"))
assert.Equal(t, "ঞ্চ", MustParse("NGc"))
assert.Equal(t, "ঞ্ছ", MustParse("nch"))
assert.Equal(t, "ঞ্ঝ", MustParse("njh"))
assert.Equal(t, "ঙ্ঘ", MustParse("ngh"))
assert.Equal(t, "ঙ্ক", MustParse("Ngk"))
assert.Equal(t, "ঙ্ষ", MustParse("Ngx"))
assert.Equal(t, "ঙ্গ", MustParse("Ngg"))
assert.Equal(t, "ঙ্ম", MustParse("Ngm"))
assert.Equal(t, "ঞ্জ", MustParse("NGj"))
assert.Equal(t, "ন্ধ", MustParse("ndh"))
assert.Equal(t, "ন্ঠ", MustParse("nTh"))
assert.Equal(t, "ণ্ঠ", MustParse("NTh"))
assert.Equal(t, "ন্থ", MustParse("nth"))
assert.Equal(t, "ঙ্খ", MustParse("nkh"))
assert.Equal(t, "ঙ্গ", MustParse("ngo"))
assert.Equal(t, "ঙ্গা", MustParse("nga"))
assert.Equal(t, "ঙ্গি", MustParse("ngi"))
assert.Equal(t, "ঙ্গী", MustParse("ngI"))
assert.Equal(t, "ঙ্গু", MustParse("ngu"))
assert.Equal(t, "ঙ্গূ", MustParse("ngU"))
assert.Equal(t, "ঙ্গে", MustParse("nge"))
assert.Equal(t, "ঙ্গো", MustParse("ngO"))
assert.Equal(t, "ণ্ঢ", MustParse("NDh"))
assert.Equal(t, "নশ", MustParse("nsh"))
assert.Equal(t, "ঙর", MustParse("Ngr"))
assert.Equal(t, "ঞর", MustParse("NGr"))
assert.Equal(t, "ংর", MustParse("ngr"))
assert.Equal(t, "ঞ্জ", MustParse("nj"))
assert.Equal(t, "ঙ", MustParse("Ng"))
assert.Equal(t, "ঞ", MustParse("NG"))
assert.Equal(t, "ঙ্ক", MustParse("nk"))
assert.Equal(t, "ং", MustParse("ng"))
assert.Equal(t, "ন্ন", MustParse("nn"))
assert.Equal(t, "ণ্ণ", MustParse("NN"))
assert.Equal(t, "ণ্ন", MustParse("Nn"))
assert.Equal(t, "ন্ম", MustParse("nm"))
assert.Equal(t, "ণ্ম", MustParse("Nm"))
assert.Equal(t, "ন্দ", MustParse("nd"))
assert.Equal(t, "ন্ট", MustParse("nT"))
assert.Equal(t, "ণ্ট", MustParse("NT"))
assert.Equal(t, "ন্ড", MustParse("nD"))
assert.Equal(t, "ণ্ড", MustParse("ND"))
assert.Equal(t, "ন্ত", MustParse("nt"))
assert.Equal(t, "ন্স", MustParse("ns"))
assert.Equal(t, "ঞ্চ", MustParse("nc"))
assert.Equal(t, "ন", MustParse("n"))
assert.Equal(t, "ণ", MustParse("N"))
assert.Equal(t, "ৈ", MustParse("OI`"))
assert.Equal(t, "ৌ", MustParse("OU`"))
assert.Equal(t, "ো", MustParse("O`"))
assert.Equal(t, "ঐ", MustParse("OI"))
assert.Equal(t, "কৈ", MustParse("kOI"))
assert.Equal(t, " ঐ", MustParse(" OI"))
assert.Equal(t, "(ঐ", MustParse("(OI"))
assert.Equal(t, "।ঐ", MustParse(".OI"))
assert.Equal(t, "ঔ", MustParse("OU"))
assert.Equal(t, "কৌ", MustParse("kOU"))
assert.Equal(t, " ঔ", MustParse(" OU"))
assert.Equal(t, "-ঔ", MustParse("-OU"))
assert.Equal(t, "্ঔ", MustParse(",,OU"))
assert.Equal(t, "ও", MustParse("O"))
assert.Equal(t, "পো", MustParse("pO"))
assert.Equal(t, " ও", MustParse(" O"))
assert.Equal(t, "ইও", MustParse("iO"))
assert.Equal(t, "ও", MustParse("`O"))
assert.Equal(t, "ফ্ল", MustParse("phl"))
assert.Equal(t, "প্ট", MustParse("pT"))
assert.Equal(t, "প্ত", MustParse("pt"))
assert.Equal(t, "প্ন", MustParse("pn"))
assert.Equal(t, "প্প", MustParse("pp"))
assert.Equal(t, "প্ল", MustParse("pl"))
assert.Equal(t, "প্স", MustParse("ps"))
assert.Equal(t, "ফ", MustParse("ph"))
assert.Equal(t, "ফ্ল", MustParse("fl"))
assert.Equal(t, "ফ", MustParse("f"))
assert.Equal(t, "প", MustParse("p"))
assert.Equal(t, "ৃ", MustParse("rri`"))
assert.Equal(t, "ঋ", MustParse("rri"))
assert.Equal(t, "কৃ", MustParse("krri"))
assert.Equal(t, "ঈঋ", MustParse("Irri"))
assert.Equal(t, "ঁঋ", MustParse("^rri"))
assert.Equal(t, "ঃঋ", MustParse(":rri"))
assert.Equal(t, "র্য", MustParse("rZ"))
assert.Equal(t, "ক্র্য", MustParse("krZ"))
assert.Equal(t, "রর্য", MustParse("rrZ"))
assert.Equal(t, "ইয়র্য", MustParse("yrZ"))
assert.Equal(t, "ওর্য", MustParse("wrZ"))
assert.Equal(t, "এক্সর্য", MustParse("xrZ"))
assert.Equal(t, "ইর্য", MustParse("irZ"))
assert.Equal(t, "-র্য", MustParse("-rZ"))
assert.Equal(t, "ররর্য", MustParse("rrrZ"))
assert.Equal(t, "র্য", MustParse("ry"))
assert.Equal(t, "ক্র্য", MustParse("qry"))
assert.Equal(t, "রর্য", MustParse("rry"))
assert.Equal(t, "ইয়র্য", MustParse("yry"))
assert.Equal(t, "ওর্য", MustParse("wry"))
assert.Equal(t, "এক্সর্য", MustParse("xry"))
assert.Equal(t, "০র্য", MustParse("0ry"))
assert.Equal(t, "রররর্য", MustParse("rrrry"))
assert.Equal(t, "ড়্র্য", MustParse("Rry"))
assert.Equal(t, "রর", MustParse("rr"))
assert.Equal(t, "আরর", MustParse("arr"))
assert.Equal(t, "আর্ক", MustParse("arrk"))
assert.Equal(t, "আররা", MustParse("arra"))
assert.Equal(t, "আরর", MustParse("arr"))
assert.Equal(t, "আরর!", MustParse("arr!"))
assert.Equal(t, "ক্রর", MustParse("krr"))
assert.Equal(t, "ক্ররা", MustParse("krra"))
assert.Equal(t, "ড়্গ", MustParse("Rg"))
assert.Equal(t, "ঢ়", MustParse("Rh"))
assert.Equal(t, "ড়", MustParse("R"))
assert.Equal(t, "র", MustParse("r"))
assert.Equal(t, "অর", MustParse("or"))
assert.Equal(t, "ম্র", MustParse("mr"))
assert.Equal(t, "১র", MustParse("1r"))
assert.Equal(t, "+র", MustParse("+r"))
assert.Equal(t, "রর", MustParse("rr"))
assert.Equal(t, "ইয়র", MustParse("yr"))
assert.Equal(t, "ওর", MustParse("wr"))
assert.Equal(t, "এক্সর", MustParse("xr"))
assert.Equal(t, "য্র", MustParse("zr"))
assert.Equal(t, "ম্রি", MustParse("mri"))
assert.Equal(t, "শ্ছ", MustParse("shch"))
assert.Equal(t, "ষ্ঠ", MustParse("ShTh"))
assert.Equal(t, "ষ্ফ", MustParse("Shph"))
assert.Equal(t, "শ্ছ", MustParse("Sch"))
assert.Equal(t, "স্ক্ল", MustParse("skl"))
assert.Equal(t, "স্খ", MustParse("skh"))
assert.Equal(t, "স্থ", MustParse("sth"))
assert.Equal(t, "স্ফ", MustParse("sph"))
assert.Equal(t, "শ্চ", MustParse("shc"))
assert.Equal(t, "শ্ত", MustParse("sht"))
assert.Equal(t, "শ্ন", MustParse("shn"))
assert.Equal(t, "শ্ম", MustParse("shm"))
assert.Equal(t, "শ্ল", MustParse("shl"))
assert.Equal(t, "ষ্ক", MustParse("Shk"))
assert.Equal(t, "ষ্ট", MustParse("ShT"))
assert.Equal(t, "ষ্ণ", MustParse("ShN"))
assert.Equal(t, "ষ্প", MustParse("Shp"))
assert.Equal(t, "ষ্ফ", MustParse("Shf"))
assert.Equal(t, "ষ্ম", MustParse("Shm"))
assert.Equal(t, "স্প্ল", MustParse("spl"))
assert.Equal(t, "স্ক", MustParse("sk"))
assert.Equal(t, "শ্চ", MustParse("Sc"))
assert.Equal(t, "স্ট", MustParse("sT"))
assert.Equal(t, "স্ত", MustParse("st"))
assert.Equal(t, "স্ন", MustParse("sn"))
assert.Equal(t, "স্প", MustParse("sp"))
assert.Equal(t, "স্ফ", MustParse("sf"))
assert.Equal(t, "স্ম", MustParse("sm"))
assert.Equal(t, "স্ল", MustParse("sl"))
assert.Equal(t, "শ", MustParse("sh"))
assert.Equal(t, "শ্চ", MustParse("Sc"))
assert.Equal(t, "শ্ত", MustParse("St"))
assert.Equal(t, "শ্ন", MustParse("Sn"))
assert.Equal(t, "শ্ম", MustParse("Sm"))
assert.Equal(t, "শ্ল", MustParse("Sl"))
assert.Equal(t, "ষ", MustParse("Sh"))
assert.Equal(t, "স", MustParse("s"))
assert.Equal(t, "শ", MustParse("S"))
assert.Equal(t, "উ", MustParse("oo"))
assert.Equal(t, "ওও", MustParse("OO"))
assert.Equal(t, "ু", MustParse("oo`"))
assert.Equal(t, "কু", MustParse("koo"))
assert.Equal(t, "উঅ", MustParse("ooo"))
assert.Equal(t, "!উ", MustParse("!oo"))
assert.Equal(t, "!উঅ", MustParse("!ooo"))
assert.Equal(t, "আউ", MustParse("aoo"))
assert.Equal(t, "উপ", MustParse("oop"))
assert.Equal(t, "উ", MustParse("ooo`"))
assert.Equal(t, "", MustParse("o`"))
assert.Equal(t, "অ্য", MustParse("oZ"))
assert.Equal(t, "অয়", MustParse("oY"))
assert.Equal(t, "অ", MustParse("o"))
assert.Equal(t, "!অ", MustParse("!o"))
assert.Equal(t, "ঁঅ", MustParse("^o"))
assert.Equal(t, "*অ", MustParse("*o"))
assert.Equal(t, "ইও", MustParse("io"))
assert.Equal(t, "ইয়", MustParse("yo"))
assert.Equal(t, "ন", MustParse("no"))
assert.Equal(t, "ত্থ", MustParse("tth"))
assert.Equal(t, "ৎ", MustParse("t``"))
assert.Equal(t, "ৎ", MustParse("`t``"))
assert.Equal(t, "ৎৎ", MustParse("t``t``"))
assert.Equal(t, "ৎ", MustParse("t```"))
assert.Equal(t, "ট্ট", MustParse("TT"))
assert.Equal(t, "ট্ম", MustParse("Tm"))
assert.Equal(t, "ঠ", MustParse("Th"))
assert.Equal(t, "ত্ন", MustParse("tn"))
assert.Equal(t, "ত্ম", MustParse("tm"))
assert.Equal(t, "থ", MustParse("th"))
assert.Equal(t, "ত্ত", MustParse("tt"))
assert.Equal(t, "ট", MustParse("T"))
assert.Equal(t, "ত", MustParse("t"))
assert.Equal(t, "অ্যা", MustParse("aZ"))
assert.Equal(t, "আঅ্যা", MustParse("aaZ"))
assert.Equal(t, "অ্যা", MustParse("AZ"))
assert.Equal(t, "া", MustParse("a`"))
assert.Equal(t, "া", MustParse("a``"))
assert.Equal(t, "কা", MustParse("ka`"))
assert.Equal(t, "া", MustParse("A`"))
assert.Equal(t, "আ", MustParse("a"))
assert.Equal(t, "আ", MustParse("`a"))
assert.Equal(t, "কআ", MustParse("k`a"))
assert.Equal(t, "ইয়া", MustParse("ia"))
assert.Equal(t, "আআআা", MustParse("aaaa`"))
assert.Equal(t, "ি", MustParse("i`"))
assert.Equal(t, "ই", MustParse("i"))
assert.Equal(t, "ই", MustParse("`i"))
assert.Equal(t, "হি", MustParse("hi"))
assert.Equal(t, "ইহ", MustParse("ih"))
assert.Equal(t, "িহ", MustParse("i`h"))
assert.Equal(t, "ী", MustParse("I`"))
assert.Equal(t, "ঈ", MustParse("I"))
assert.Equal(t, "চী", MustParse("cI"))
assert.Equal(t, "ঈক্স", MustParse("Ix"))
assert.Equal(t, "ঈঈ", MustParse("II"))
assert.Equal(t, "০ঈ", MustParse("0I"))
assert.Equal(t, "অঈ", MustParse("oI"))
assert.Equal(t, "ু", MustParse("u`"))
assert.Equal(t, "উ", MustParse("u"))
assert.Equal(t, "কু", MustParse("ku"))
assert.Equal(t, "উক", MustParse("uk"))
assert.Equal(t, "উউ", MustParse("uu"))
assert.Equal(t, "ইউ", MustParse("iu"))
assert.Equal(t, "&উ", MustParse("&u"))
assert.Equal(t, "উ&", MustParse("u&"))
assert.Equal(t, "ূ", MustParse("U`"))
assert.Equal(t, "ঊ", MustParse("U"))
assert.Equal(t, "ইয়ূ", MustParse("yU"))
assert.Equal(t, "ঊয়", MustParse("Uy"))
assert.Equal(t, "ঁঊ", MustParse("^U"))
assert.Equal(t, "ঊঁ", MustParse("U^"))
assert.Equal(t, "ঈ", MustParse("EE"))
assert.Equal(t, "ঈ", MustParse("ee"))
assert.Equal(t, "ঈ", MustParse("Ee"))
assert.Equal(t, "ঈ", MustParse("eE"))
assert.Equal(t, "ী", MustParse("ee`"))
assert.Equal(t, "কী", MustParse("kee"))
assert.Equal(t, "ঈক", MustParse("eek"))
assert.Equal(t, "০ঈ", MustParse("0ee"))
assert.Equal(t, "ঈ৮", MustParse("ee8"))
assert.Equal(t, "(ঈ)", MustParse("(ee)"))
assert.Equal(t, "ে", MustParse("e`"))
assert.Equal(t, "এ", MustParse("e"))
assert.Equal(t, "কে", MustParse("ke"))
assert.Equal(t, "ওয়ে", MustParse("we"))
assert.Equal(t, "#এ#", MustParse("#e#"))
assert.Equal(t, "ে", MustParse("`e`"))
assert.Equal(t, "য", MustParse("z"))
assert.Equal(t, "্য", MustParse("Z"))
assert.Equal(t, "র্য", MustParse("rZ"))
assert.Equal(t, "ক্যশ", MustParse("kZS"))
assert.Equal(t, "ইয়", MustParse("y"))
assert.Equal(t, "অয়", MustParse("oy"))
assert.Equal(t, "ক্য", MustParse("ky"))
assert.Equal(t, "ইয়া", MustParse("ya"))
assert.Equal(t, "ইয়াআ", MustParse("yaa"))
assert.Equal(t, "য়", MustParse("Y"))
assert.Equal(t, "য়য়", MustParse("YY"))
assert.Equal(t, "ইয়", MustParse("iY"))
assert.Equal(t, "কয়", MustParse("kY"))
assert.Equal(t, "ক", MustParse("q"))
assert.Equal(t, "ক", MustParse("Q"))
assert.Equal(t, "ও", MustParse("w"))
assert.Equal(t, "ওয়া", MustParse("wa"))
assert.Equal(t, "-ওয়া-", MustParse("-wa-"))
assert.Equal(t, "ওয়ু", MustParse("woo"))
assert.Equal(t, "ওরে", MustParse("wre"))
assert.Equal(t, "ক্ব", MustParse("kw"))
assert.Equal(t, "এক্স", MustParse("x"))
assert.Equal(t, "এক্স", MustParse("ex"))
assert.Equal(t, "বক্স", MustParse("bx"))
assert.Equal(t, ":", MustParse(":`"))
assert.Equal(t, "ঃ", MustParse(":"))
assert.Equal(t, "^", MustParse("^`"))
assert.Equal(t, "ঁ", MustParse("^"))
assert.Equal(t, "কঁ", MustParse("k^"))
assert.Equal(t, "কঁই", MustParse("k^i"))
assert.Equal(t, "কিঁ", MustParse("ki^"))
assert.Equal(t, "্", MustParse(",,"))
assert.Equal(t, "্,", MustParse(",,,"))
assert.Equal(t, "্,", MustParse(",,`,"))
assert.Equal(t, "্", MustParse("`,,"))
assert.Equal(t, ",,", MustParse(",`,"))
assert.Equal(t, "৳", MustParse("$"))
assert.Equal(t, "", MustParse("`"))
assert.Equal(t, "ব্ধ", MustParse("bdh"))
}
func TestRandomChars(t *testing.T) {
assert.Equal(t, MustParse("!"), "!")
}
func TestSentence(t *testing.T) {
assert.Equal(t, "আমি বাংলায় গান গাই", MustParse("ami banglay gan gai"))
assert.Equal(t, "আমাদের ভালোবাসা হয়ে গেল ঘাস, খেয়ে গেল গরু আর দিয়ে গেল বাঁশ", MustParse("amader valObasa hoye gel ghas, kheye gel goru ar diye gelo ba^sh"))
}