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

Bring Doctest coverage for sage/rings/finite_rings to 100% #12262

Closed
roed314 opened this issue Jan 4, 2012 · 11 comments
Closed

Bring Doctest coverage for sage/rings/finite_rings to 100% #12262

roed314 opened this issue Jan 4, 2012 · 11 comments

Comments

@roed314
Copy link
Contributor

roed314 commented Jan 4, 2012

Part of metaticket #12024. While this ticket doesn't technically depend on #12260 and #12261, those element_ext_pari.py and integer_mod.pyx were split off into those two tickets.

This ticket addresses the files:

finite_rings/element_givaro.pyx: 96% (61 of 63)
finite_rings/element_ntl_gf2e.pyx: 94% (53 of 56)
finite_rings/finite_field_givaro.py: 95% (20 of 21)
finite_rings/homset.py: 87% (7 of 8)
finite_rings/integer_mod_ring.py: 75% (33 of 44)

Depends on #12062

Component: doctest coverage

Author: David Roe, David Loeffler

Reviewer: David Loeffler

Merged: sage-5.0.beta11

Issue created by migration from https://trac.sagemath.org/ticket/12262

@roed314 roed314 added this to the sage-5.0 milestone Jan 4, 2012
@roed314
Copy link
Contributor Author

roed314 commented Jan 5, 2012

Attachment: 12262.patch.gz

@roed314
Copy link
Contributor Author

roed314 commented Jan 5, 2012

comment:1

Depends on #12062 since that moved functions around in the finite_rings folder.

@roed314
Copy link
Contributor Author

roed314 commented Jan 5, 2012

Author: David Roe

@roed314
Copy link
Contributor Author

roed314 commented Jan 5, 2012

Dependencies: #12062

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Mar 18, 2012

roed's patch rebased for 5.0.beta8

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Mar 18, 2012

Attachment: 12262-rebase.patch.gz

Reviewer patch; apply over the rebased v5.0.beta8 patch

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Mar 18, 2012

Reviewer: David Loeffler

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Mar 18, 2012

comment:2

Attachment: 12262-review.patch.gz

Apply 12262-rebase.patch, 12262-review.patch

This needed some minor rebasing to apply to 5.0.beta8 (I think because of #11900). Anyway, it's good stuff. I've uploaded my rebased version, and a reviewer patch that doctests one file that somehow escaped, and makes a minor, matter-of-taste change to the doctesting of _repr_ for homsets. If David or anyone else can sign off on my reviewer patch, then we can give this a positive review.

With both patches installed, every file in finite_rings gets 100% coverage except integer_mod.pyx, cf #12260.

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Mar 18, 2012

Changed author from David Roe to David Roe, David Loeffler

@roed314
Copy link
Contributor Author

roed314 commented Mar 18, 2012

comment:3

The review patch looks good to me.

@jdemeyer
Copy link

Merged: sage-5.0.beta11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants