Skip to content

Commit afcfdec

Browse files
yehiyamBridgeAR
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 991d066 commit afcfdec

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
@@ -47,6 +47,7 @@ const notEqualArrayPairs = [
4747
[new Int16Array([-256]), new Uint16Array([0xff00])], // same bits
4848
[new Int32Array([-256]), new Uint32Array([0xffffff00])], // ditto
4949
[new Float32Array([0.1]), new Float32Array([0.0])],
50+
[new Float32Array([0.1]), new Float32Array([0.1, 0.2])],
5051
[new Float64Array([0.1]), new Float64Array([0.0])],
5152
[new Uint8Array([1, 2, 3]).buffer, new Uint8Array([4, 5, 6]).buffer],
5253
[

0 commit comments

Comments
 (0)