Comment #7 on issue 1284 by [email protected]: more tests for the solvers module
http://code.google.com/p/sympy/issues/detail?id=1284

I added a few tests but I didn't pull request yet as I'm facing some problems.

Problem is that I have to give a list format in assert instead of dictionary.
This is how it is done previously:-
assert solve(some equation) == [{x: x1}, {x: x2}]
But this does not seem to work for me. I have to give it the following way:-
assert solve(some equation) == [x1, x2]

Also the following tests give failure. I'm not sure if these are bugs or a mistake on my part:-
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

Note: I also posted this on the mailing list.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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

Reply via email to