From: Fabian Seoane <[email protected]>
Issue is solved in trunk, but didn't have a test. It was probably
solved when we added guess_solve_strategy to solve's routine
---
sympy/solvers/tests/test_solvers.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sympy/solvers/tests/test_solvers.py
b/sympy/solvers/tests/test_solvers.py
index 7873e56..53aca11 100644
--- a/sympy/solvers/tests/test_solvers.py
+++ b/sympy/solvers/tests/test_solvers.py
@@ -188,6 +188,8 @@ def test_tsolve():
assert solve(exp(x)-3, x) == [log(3)]
assert solve(cos(x)-y, x) == [acos(y)]
assert solve(2*cos(x)-y,x)== [acos(y/2)]
+ assert solve(Eq(cos(x), sin(x)), x) == [acos(sin(x))]
+
# XXX in the following test, log(2*y + 2*...) should -> log(2) + log(y
+...)
assert solve(exp(x)+exp(-x)-y,x) == [-log(4) + log(2*y + 2*(-4 +
y**2)**Rational(1,2)),
-log(4) + log(2*y - 2*(-4 +
y**2)**Rational(1,2))]
--
1.6.0.2
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy-patches" 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-patches?hl=en
-~----------~----~----~----~------~----~------~--~---