#16727: IncidenceStructure.__contains__
-------------------------------------+-------------------------------------
Reporter: ncohen | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.3
Component: combinatorial | Resolution:
designs | Merged in:
Keywords: | Reviewers:
Authors: Nathann Cohen | Work issues:
Report Upstream: N/A | Commit:
Branch: public/16727 | e7ef8c0e2b5f5ef36112428094faa8de2a32316c
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by dimpase):
Replying to [comment:8 ncohen]:
> > A degenerate input is a corner case: one-element hypergraphs and
complete uniform hypergraphs are surely degenerate inputs. Such tests
don't stress much of the implementation, as you can imagine.
>
> Dima, are you aware that the only thing we are testing here is whether
an element belongs to a LIST ?
Good doctests should test the function as if it were a blackbox.
The underlying implementation might change, might become more
sophisticated, and the doctests should catch bugs in such future changes.
Unless you prefer bug-driven development model to the test-driven one ;-)
--
Ticket URL: <http://trac.sagemath.org/ticket/16727#comment:9>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.