Skip to content
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 tests to ndarray/base/nullary #2652

Merged
merged 5 commits into from
Jul 24, 2024

Conversation

headlessNode
Copy link
Contributor

Progresses #2229.

Description

What is the purpose of this pull request?

This pull request:

  • add tests to @stdlib/ndarray/base/nullary/test/test.8d.js for 100% test coverage

Related Issues

Does this pull request have any related issues?

This pull request:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

@headlessNode
Copy link
Contributor Author

@kgryte Please review, thanks.

@kgryte kgryte added the Tests Pull requests specifically adding tests. label Jul 24, 2024
Copy link
Member

@kgryte kgryte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks, @headlessNode.

Just a heads up that you'll want to run test coverage locally using the make test-cov TESTS_FILTER="..." command. A change I had to make was to ensure that the bsize*2 dimension was not preceded by a singleton dimension; otherwise, the strides won't sort in a manner such that all dimensions exercise blocking branches. Something to keep in mind for 9D and beyond.

@kgryte kgryte merged commit fa34b48 into stdlib-js:develop Jul 24, 2024
6 checks passed
@headlessNode
Copy link
Contributor Author

headlessNode commented Jul 24, 2024

@kgryte Thanks for the heads up.

@headlessNode headlessNode deleted the nullary-tests-8d branch July 24, 2024 07:56
gunjjoshi pushed a commit to gunjjoshi/stdlib that referenced this pull request Aug 21, 2024
PR-URL: stdlib-js#2652
Ref: stdlib-js#2229
Co-authored-by: Athan Reines <kgryte@gmail.com>
Reviewed-by: Athan Reines <kgryte@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tests Pull requests specifically adding tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants