On Mar 26, 3:52 pm, William Stein <wst...@gmail.com> wrote:
> 2. Make sure your code has 100% doctest coverage.

I have two questions here.
1. I work intensely with functions defined inside of methods (because
one attribute of the power series is a function. It needs to be
defined whenever a method returns a power series).
All those inner functions are listed in "missing doctests".
To add a short documentation string was no deal, but provide doctests
for all those inner functions?

2. I got a method _test which contains a whole test suite for the
class as doctest (and nothing else). These tests maybe not appropriate
to put into other doctests. However sage -coverage declares it as:
"Possibly wrong (function name doesn't occur in doctests)". Does that
count as minus?

Henryk
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to