Skip to content

Commit 808355e

Browse files
yehiyamcodebytere
authored andcommitted
test: add test for deepEqual Float32Array
PR-URL: #24164 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent e6ae331 commit 808355e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parallel/test-assert-typedarray-deepequal.js

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const notEqualArrayPairs = [
4444
[new Int16Array([-256]), new Uint16Array([0xff00])], // same bits
4545
[new Int32Array([-256]), new Uint32Array([0xffffff00])], // ditto
4646
[new Float32Array([0.1]), new Float32Array([0.0])],
47+
[new Float32Array([0.1]), new Float32Array([0.1, 0.2])],
4748
[new Float64Array([0.1]), new Float64Array([0.0])]
4849
];
4950

0 commit comments

Comments
 (0)