Lines Matching refs:strictEqual
9 assert.strictEqual(rangeBuffer.toString('ascii', 3), '');
10 assert.strictEqual(rangeBuffer.toString('ascii', +Infinity), '');
11 assert.strictEqual(rangeBuffer.toString('ascii', 3.14, 3), '');
12 assert.strictEqual(rangeBuffer.toString('ascii', 'Infinity', 3), '');
15 assert.strictEqual(rangeBuffer.toString('ascii', 1, 0), '');
16 assert.strictEqual(rangeBuffer.toString('ascii', 1, -1.2), '');
17 assert.strictEqual(rangeBuffer.toString('ascii', 1, -100), '');
18 assert.strictEqual(rangeBuffer.toString('ascii', 1, -Infinity), '');
21 assert.strictEqual(rangeBuffer.toString('ascii', -1, 3), 'abc');
22 assert.strictEqual(rangeBuffer.toString('ascii', -1.99, 3), 'abc');
23 assert.strictEqual(rangeBuffer.toString('ascii', -Infinity, 3), 'abc');
24 assert.strictEqual(rangeBuffer.toString('ascii', '-1', 3), 'abc');
25 assert.strictEqual(rangeBuffer.toString('ascii', '-1.99', 3), 'abc');
26 assert.strictEqual(rangeBuffer.toString('ascii', '-Infinity', 3), 'abc');
29 assert.strictEqual(rangeBuffer.toString('ascii', 'node.js', 3), 'abc');
30 assert.strictEqual(rangeBuffer.toString('ascii', {}, 3), 'abc');
31 assert.strictEqual(rangeBuffer.toString('ascii', [], 3), 'abc');
32 assert.strictEqual(rangeBuffer.toString('ascii', NaN, 3), 'abc');
33 assert.strictEqual(rangeBuffer.toString('ascii', null, 3), 'abc');
34 assert.strictEqual(rangeBuffer.toString('ascii', undefined, 3), 'abc');
35 assert.strictEqual(rangeBuffer.toString('ascii', false, 3), 'abc');
36 assert.strictEqual(rangeBuffer.toString('ascii', '', 3), 'abc');
39 assert.strictEqual(rangeBuffer.toString('ascii', '-1', 3), 'abc');
40 assert.strictEqual(rangeBuffer.toString('ascii', '1', 3), 'bc');
41 assert.strictEqual(rangeBuffer.toString('ascii', '-Infinity', 3), 'abc');
42 assert.strictEqual(rangeBuffer.toString('ascii', '3', 3), '');
43 assert.strictEqual(rangeBuffer.toString('ascii', Number(3), 3), '');
44 assert.strictEqual(rangeBuffer.toString('ascii', '3.14', 3), '');
45 assert.strictEqual(rangeBuffer.toString('ascii', '1.99', 3), 'bc');
46 assert.strictEqual(rangeBuffer.toString('ascii', '-1.99', 3), 'abc');
47 assert.strictEqual(rangeBuffer.toString('ascii', 1.99, 3), 'bc');
48 assert.strictEqual(rangeBuffer.toString('ascii', true, 3), 'bc');
51 assert.strictEqual(rangeBuffer.toString('ascii', 0, 5), 'abc');
52 assert.strictEqual(rangeBuffer.toString('ascii', 0, 6.99), 'abc');
53 assert.strictEqual(rangeBuffer.toString('ascii', 0, Infinity), 'abc');
54 assert.strictEqual(rangeBuffer.toString('ascii', 0, '5'), 'abc');
55 assert.strictEqual(rangeBuffer.toString('ascii', 0, '6.99'), 'abc');
56 assert.strictEqual(rangeBuffer.toString('ascii', 0, 'Infinity'), 'abc');
59 assert.strictEqual(rangeBuffer.toString('ascii', 0, 'node.js'), '');
60 assert.strictEqual(rangeBuffer.toString('ascii', 0, {}), '');
61 assert.strictEqual(rangeBuffer.toString('ascii', 0, NaN), '');
62 assert.strictEqual(rangeBuffer.toString('ascii', 0, undefined), 'abc');
63 assert.strictEqual(rangeBuffer.toString('ascii', 0), 'abc');
64 assert.strictEqual(rangeBuffer.toString('ascii', 0, null), '');
65 assert.strictEqual(rangeBuffer.toString('ascii', 0, []), '');
66 assert.strictEqual(rangeBuffer.toString('ascii', 0, false), '');
67 assert.strictEqual(rangeBuffer.toString('ascii', 0, ''), '');
70 assert.strictEqual(rangeBuffer.toString('ascii', 0, '-1'), '');
71 assert.strictEqual(rangeBuffer.toString('ascii', 0, '1'), 'a');
72 assert.strictEqual(rangeBuffer.toString('ascii', 0, '-Infinity'), '');
73 assert.strictEqual(rangeBuffer.toString('ascii', 0, '3'), 'abc');
74 assert.strictEqual(rangeBuffer.toString('ascii', 0, Number(3)), 'abc');
75 assert.strictEqual(rangeBuffer.toString('ascii', 0, '3.14'), 'abc');
76 assert.strictEqual(rangeBuffer.toString('ascii', 0, '1.99'), 'a');
77 assert.strictEqual(rangeBuffer.toString('ascii', 0, '-1.99'), '');
78 assert.strictEqual(rangeBuffer.toString('ascii', 0, 1.99), 'a');
79 assert.strictEqual(rangeBuffer.toString('ascii', 0, true), 'a');
82 assert.strictEqual(rangeBuffer.toString({ toString: function() {