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
adding doctests to arith.py #6529
Comments
Brings arith.py coverage to 100%; includes functions from #6509 |
comment:1
Attachment: trac_6529_arith_doctests.patch.gz Attached patch has functions from ticket #6509 in it as well. I deleted the optional argument "k=1" from Euler_Phi, since it didn't seem to be there for any reason. |
Reviewer: wstein, craigcitro |
Attachment: trac_6529_reviewer.patch.gz |
comment:2
Good work: patch applies fine, and all doctests pass. But I noticed that several docstrings are mis-formatted, including the one for the new four_squares function. Then I had an attack of enthusiasm and decided to clean all that up. Hence the second patch above. I'm happy with mhampton's changes; so if mhampton (or anyone someone else) could take a quick look at the second patch, then we can call this a positive review. David |
Author: Marshall Hampton, David Loeffler |
Changed reviewer from wstein, craigcitro to David Loeffler |
Merged: sage-4.1.1.alpha0 |
Changed reviewer from David Loeffler to David Loeffler, Minh Van Nguyen |
comment:4
Thanks David, that was a lot of cleanup work. |
arith.py currently has quite a few doctests missing. I (Marshall Hampton) am planning on bringing this up to 100% coverage soon.
Component: basic arithmetic
Author: Marshall Hampton, David Loeffler
Reviewer: David Loeffler, Minh Van Nguyen
Merged: sage-4.1.1.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/6529
The text was updated successfully, but these errors were encountered: