-
Notifications
You must be signed in to change notification settings - Fork 9
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
gh-273: add tests for glass.shells
#449
Conversation
This makes them available to all tests. I need `cosmo` for use in #449. Have also added `scope="session"` so they are only computed once when testing rather than multiple times.
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, @paddyroddy! I have made some comments about using assert
instead of np.testing
functions on non-array values. I am not sure if there was a reason to use np.testing
for these test case; ignore my comments if there was one.
I guess this is a habit of mine since I learnt about |
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Sorry for the late reply. I guess it was just the extra function call overheads, but not a big deal, both of the implementations look good! |
Closes #273. Adds tests for the
glass.shells
module. Coverage going up - 94.1%.Worked on this before the pause. Can't remember where I got to, but makes sense to merge. We can always improve the tests later.