-
-
Notifications
You must be signed in to change notification settings - Fork 628
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
feat: add toReversed
method to array/fixed-endian-factory
#3299
base: develop
Are you sure you want to change the base?
feat: add toReversed
method to array/fixed-endian-factory
#3299
Conversation
Coverage Report
The above coverage report was generated for the changes in this PR. |
|
||
t.strictEqual( instanceOf( out, ctor ), true, 'returns expected value' ); | ||
t.notEqual( out, arr, 'returns a new instance' ); | ||
t.strictEqual( out.length, expected.length, 'returns expected value' ); |
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.
this test doesn't compare values of expected
against values of out
, it just compares the length.
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.
made changes
toReversed
method to array/fixed-endian-factory
e3001fa
to
b5ccb4d
Compare
lib/node_modules/@stdlib/array/fixed-endian-factory/benchmark/benchmark.to_reversed.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/fixed-endian-factory/benchmark/benchmark.to_reversed.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/fixed-endian-factory/benchmark/benchmark.to_reversed.length.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/fixed-endian-factory/benchmark/benchmark.to_reversed.length.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/fixed-endian-factory/lib/main.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/fixed-endian-factory/lib/main.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/fixed-endian-factory/lib/main.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/fixed-endian-factory/lib/main.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/fixed-endian-factory/lib/main.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/fixed-endian-factory/lib/main.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/fixed-endian-factory/test/test.to_reversed.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/array/fixed-endian-factory/test/test.to_reversed.js
Outdated
Show resolved
Hide resolved
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.
Thanks for working on this @nate10j. Left an initial round of comments.
8c1cba3
to
4f6ae97
Compare
Co-authored-by: Athan <[email protected]> Signed-off-by: Nate <[email protected]>
Co-authored-by: Athan <[email protected]> Signed-off-by: Nate <[email protected]>
…/benchmark Co-authored-by: Athan <[email protected]> Signed-off-by: Nate <[email protected]>
Co-authored-by: Athan <[email protected]> Signed-off-by: Nate <[email protected]>
…ctory Co-authored-by: Athan <[email protected]> Signed-off-by: Nate <[email protected]>
…actory Co-authored-by: Athan <[email protected]> Signed-off-by: Nate <[email protected]>
…actory Co-authored-by: Athan <[email protected]> Signed-off-by: Nate <[email protected]>
Co-authored-by: Athan <[email protected]> Signed-off-by: Nate <[email protected]>
Co-authored-by: Athan <[email protected]> Signed-off-by: Nate <[email protected]> style: add missing space to array/fixed-endian-factory/test style: add missing space to test for toReversed method
…factory Co-authored-by: Athan <[email protected]> Signed-off-by: Nate <[email protected]> style: remove blank line for toReversed method in array/fixed-endian-factory style: remove blank line for toReversed method in array/fixed-endian-factory style: remove blank line in toReversed method
…factory Co-authored-by: Athan <[email protected]> Signed-off-by: Nate <[email protected]> style: remove blank line for toReversed method in array/fixed-endian-factory style: remove blank line in toReversed method in array/fixed-endian-factory style: remove blank line for toReversed method
4f6ae97
to
0e0154c
Compare
@kgryte Thanks for the review, I have made required changes |
Resolves #3159
Description
This pull request:
Related Issues
This pull request:
toReversed
method toarray/fixed-endian-factory
#3159Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers