Is it possible to write a test that runs over all polynomial ring over
a field in Sage? This is as opposed to a test that works in a specific
ring that the test constructs. Obviously there are infinitely many
possible rings that can be constructed, so the test should run over
some representative finite subset.

This is relevant to me in writing tests for the Frobby spkg, since I
want to accept as a parameter a monomial ideal in any polynomial ring.
How do I test that? I don't know what all the polynomial rings in Sage
are, and I would like the test to detect if in future someone adds a
new type of polynomial ring for which my code does not work. I looked
in the developer guide at

  http://www.sagemath.org/doc/developer/conventions.html#automated-testing

and I didn't see any discussion of this. Searching sage-devel for
"parameterized test" also yields no hits. Should I test one ring and
leave it at that?

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

Reply via email to