Skip to content

Commit

Permalink
Trac #11645: Add doctest to check that Singular's gftables work
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Aug 10, 2011
1 parent e749bad commit 247c230
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/sage/interfaces/singular.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@
sage: a = singular.eval(t)
sage: a = singular(t)
TESTS: We test an automatic coercion::
TESTS:
We test an automatic coercion::
sage: a = 3*singular('2'); a
6
Expand All @@ -274,6 +276,12 @@
6
sage: type(a)
<class 'sage.interfaces.singular.SingularElement'>
Create a ring over GF(9) to check that ``gftables`` has been installed,
see ticket #11645::
sage: singular.eval("ring testgf9 = (9,x),(a,b,c,d,e,f),(M((1,2,3,0)),wp(2,3),lp);")
'ring testgf9 = (9,x),(a,b,c,d,e,f),(M((1,2,3,0)),wp(2,3),lp);'
"""

#We could also do these calculations without using the singular
Expand Down

0 comments on commit 247c230

Please sign in to comment.