Comment #12 on issue 604 by [email protected]: write tests for p =
x**3+2*x**2+8; r = roots(p, x);
http://code.google.com/p/sympy/issues/detail?id=604
Perhaps this issue should just be closed. Looking at the git log I see that
the whole test was removed in the revamp of poly (see
2ab175ee6cb1a1839ab87cedfc583a9b92a2352f ). Is there anything that is
uncovered that needs to be covered with a test? And in answer to the OP,
you can show the roots satisfy the orginal equation with
>>> k = roots(p,x).keys()
>>> [cancel(together(p.subs(x,k[i]).expand())) for i in range(len(k))]
[0, 0, 0]
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.