-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Add TypedArray ElementSize, ByteLength and ByteOffset tests #1179
test: Add TypedArray ElementSize, ByteLength and ByteOffset tests #1179
Conversation
['int8', Int8Array, 1], | ||
['uint8', Uint8Array, 1], | ||
['uint8_clamped', Uint8ClampedArray, 1], | ||
['int16', Int16Array, 2], | ||
['uint16', Uint16Array, 2], | ||
['int32', Int32Array, 4], | ||
['uint32', Uint32Array, 4], | ||
['float32', Float32Array, 4], | ||
['float64', Float64Array, 8] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8cbc9fa
to
f0b9256
Compare
e5cc439
to
bdc4c59
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add tests for TypedArray#ElementSize Add tests for TypedArray#BufferLength Add tests for TypedArray#ByteOffset PR-URL: #1179 Reviewed-By: Kevin Eady <kevin.c.eady@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com
Landed as 63d3c30 @dantehemerson thanks. |
Add tests for TypedArray#ElementSize Add tests for TypedArray#BufferLength Add tests for TypedArray#ByteOffset PR-URL: nodejs/node-addon-api#1179 Reviewed-By: Kevin Eady <kevin.c.eady@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com
Add tests for TypedArray#ElementSize Add tests for TypedArray#BufferLength Add tests for TypedArray#ByteOffset PR-URL: nodejs/node-addon-api#1179 Reviewed-By: Kevin Eady <kevin.c.eady@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com
Add tests for TypedArray#ElementSize Add tests for TypedArray#BufferLength Add tests for TypedArray#ByteOffset PR-URL: nodejs/node-addon-api#1179 Reviewed-By: Kevin Eady <kevin.c.eady@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com
Add tests for TypedArray#ElementSize Add tests for TypedArray#BufferLength Add tests for TypedArray#ByteOffset PR-URL: nodejs/node-addon-api#1179 Reviewed-By: Kevin Eady <kevin.c.eady@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com
Mentioned on #964
Add tests for the TypeadArray methods: