I took up the issue #1284 and I am having some trouble regarding it.
http://code.google.com/p/sympy/issues/detail?id=1284&q=easytofix&colspec=ID%20Type%20Status%20Priority%20Milestone%20Reporter%20Summary%20Stars

The way assert is done is as follows:-
assert solve(some equation) == [{x: x1}, {x: x2}]

However this fails on my system when I added a few tests of mine
I have to do the following way to get it work:-
assert solve(some equation) == [x1, x2]
So instead of a dictionary format, I have to use list.
This might be a trivial mistake from my side but I don't get it.

Also the following tests give failure:-
1) assert solve(4**(2*(x**2) + 2*x) - 8, x) == [-3/2, 1/2]
2) assert solve(5**(x+1) + 5**(2-x) - 126, x) == [-1, 2]
3) assert solve(log(x+1, 2) + log(x-3, 2) - 5, x) == [7]

1) produces the same answer but four times i.e. [-3/2, -3/2, -3/2, -3/2, 
1/2, 1/2, 1/2, 1/2]
2) gives [-1, log(25)/log(5)] which is correct but it should simplify 
log(25)/log(5) to 2, right?
3) says not implemented error but it can be reduced to a simple quadratic 
equation so I expect sympy to solve it

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to