On Thu, Nov 13, 2014 at 8:00 AM, mmarco <mma...@unizar.es> wrote:
> What i mean is that, for example:
>
> sage: R.<x,y> = PolynomialRing(QQ)
> sage: I = R.ideal([x^2 - y ^2, x + y +1])
> sage: I.groebner_basis()
> [x + 1/2, y + 1/2]
>
> Is just one doctest unit (since it is really one test going on, we only
> check that the groebner basis coincides with the expected one). But it
> involves three lines that match 'sage:'

The answer to your original question "IS that individual lines of
doctests or doctest units themselves?" is clear since Jereon posted the
(very nice) code he used to compute the total:

$ find src/sage src/doc/en -type f |xargs cat | grep -c '^ *sage: '
239600

It would be nice if somebody wrote a more sophisticated scanner to
compute the number of "doctest units", as you suggest above.

William

>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to