Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add class method for Box class which create a box from Lx,Ly,Lz and angles #1234
Add class method for Box class which create a box from Lx,Ly,Lz and angles #1234
Changes from all commits
0d6f975
0717da1
ae95e63
5a388bf
58a56f6
746b923
2f9adcf
c7ad750
c399ff3
2a99532
16d028a
dc74488
7706c2f
8860961
12b4a1a
0e78e47
da9d7ea
aa4354a
d536985
461485e
90dd30c
8e27b3c
863ac23
5bd2c08
6a9b740
1a45db1
ace7fac
6f6932e
ae96836
3aab7cb
a7c18e2
c26e88e
ae56eff
a3daf1b
dffb772
a3548a1
a3449d8
b32ed14
ca710c3
ad8d8b3
b51d8d7
d78e08e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I think a great test to add would be to start with 3 random lengths and 3 random angles, then call
from_box_lengths_and_angles
to get a box, then callto_box_lengths_and_angles
on that box and assert that you recover the original random lengths and angles.