Lines Matching refs:strictEqual
11 assert.strictEqual(getStringWidth('a'), 1);
12 assert.strictEqual(getStringWidth(String.fromCharCode(0x0061)), 1);
14 assert.strictEqual(getStringWidth('丁'), 2);
15 assert.strictEqual(getStringWidth(String.fromCharCode(0x4E01)), 2);
17 assert.strictEqual(getStringWidth('\ud83d\udc78\ud83c\udfff'), 4);
18 assert.strictEqual(getStringWidth(''), 2);
20 assert.strictEqual(getStringWidth('\ud83d'), 1);
22 assert.strictEqual(getStringWidth('\udc78'), 1);
24 assert.strictEqual(getStringWidth('\u0000'), 0);
26 assert.strictEqual(getStringWidth(String.fromCharCode(0x0007)), 0);
28 assert.strictEqual(getStringWidth('\n'), 0);
30 assert.strictEqual(getStringWidth(String.fromCharCode(0x00AD)), 1);
33 assert.strictEqual(getStringWidth('\u200Ef\u200F'), 1);
35 assert.strictEqual(getStringWidth(String.fromCharCode(0x10FFEF)), 1);
37 assert.strictEqual(getStringWidth(String.fromCharCode(0x3FFEF)), 1);
39 assert.strictEqual(getStringWidth(String.fromCharCode(0x0301)), 0);
43 assert.strictEqual(getStringWidth(String.fromCharCode(0x1B44)), 1);
45 assert.strictEqual(getStringWidth(String.fromCharCode(0x20DD)), 0);
53 assert.strictEqual(getStringWidth(''), 8);
59 assert.strictEqual(getStringWidth('❤️'), 1);
60 assert.strictEqual(getStringWidth('❤️'), 5);
62 assert.strictEqual(getStringWidth('❤'), 1);
68 assert.strictEqual(getStringWidth('\u01d4'), 1);
71 assert.strictEqual(getStringWidth('\u200E\n\u220A\u20D2'), 1);
77 assert.strictEqual(
82 assert.strictEqual(getStringWidth(char), 0);
84 assert.strictEqual(getStringWidth(char), 1);
91 assert.strictEqual(a.length, 6);
92 assert.strictEqual(b.length, 2);
93 assert.strictEqual(getStringWidth(a), 4);
94 assert.strictEqual(getStringWidth(b), 4);