#12893: Increase doctest coverage in sage/coding/linear_code.py to 100%
------------------------------------------------+---------------------------
Reporter: benjaminfjones | Owner: mvngu
Type: enhancement | Status: new
Priority: minor | Milestone: sage-5.1
Component: documentation | Resolution:
Keywords: linear code doctest coverage | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Benjamin Jones | Merged in:
Dependencies: | Stopgaps:
------------------------------------------------+---------------------------
Comment (by benjaminfjones):
Note the bugfix in `sd_duursma_q`, the syntax `T^2` was changed to `T**2`.
This would have been discovered if doctests has been included with the
code originally.
After the patch:
{{{
> mysage -coverage linear_code.py
----------------------------------------------------------------------
linear_code.py
SCORE linear_code.py: 100% (63 of 63)
----------------------------------------------------------------------
> mysage -t linear_code.py
sage -t "devel/sage-test/sage/coding/linear_code.py"
[18.9 s]
----------------------------------------------------------------------
All tests passed!
Total time for all tests: 18.9 seconds
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12893#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.