Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 3d4e7f7

Browse files
committed
Add test for conversion to singular ideals from ideals and sequences
1 parent dfe5ed0 commit 3d4e7f7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/sage/rings/polynomial/multi_polynomial_ideal_libsingular.pyx

+11
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,17 @@ cdef ideal *sage_ideal_to_singular_ideal(I) except NULL:
115115
116116
- ``I`` -- a Sage ideal in a ring of type
117117
:class:`~sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingular` or a list of generators.
118+
119+
TESTS:
120+
121+
122+
We test conversion::
123+
124+
sage: P.<x,y,z> = QQ[]
125+
sage: sage.libs.singular.function_factory.ff.std(Sequence([x,y,z]))
126+
[z, y, x]
127+
sage: sage.libs.singular.function_factory.ff.std(Ideal([x,y,z]))
128+
[z, y, x]
118129
"""
119130
R = I.ring()
120131
try:

0 commit comments

Comments
 (0)