test,assert: add deepEqual/deepStrictEqual tests for typed arrays · nodejs/node@a8438a0
@@ -26,7 +26,10 @@ const equalArrayPairs = [
2626[new Int16Array([256]), new Uint16Array([256])],
2727[new Float32Array([+0.0]), new Float32Array([-0.0])],
2828[new Float64Array([+0.0]), new Float32Array([-0.0])],
29-[new Float64Array([+0.0]), new Float64Array([-0.0])]
29+[new Float64Array([+0.0]), new Float64Array([-0.0])],
30+[new Uint8Array([1, 2, 3, 4]).subarray(1), new Uint8Array([2, 3, 4])],
31+[new Uint16Array([1, 2, 3, 4]).subarray(1), new Uint16Array([2, 3, 4])],
32+[new Uint32Array([1, 2, 3, 4]).subarray(1, 3), new Uint32Array([2, 3])]
3033];
31343235const notEqualArrayPairs = [