Skip to content

Commit 00d39ee

Browse files
committed
add test cases
1 parent 7325af3 commit 00d39ee

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/builtin/calculus/test_solve.py

+10
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ def test_solve():
4242
"{x->1.51213}",
4343
"Issue #1235",
4444
),
45+
(
46+
"Solve[{x^2==4 && x < 0},{x}]",
47+
"{x->-2}",
48+
"",
49+
),
50+
(
51+
"Solve[{x^2==4 && x < 0 && x > -4},{x}]",
52+
"{x->-2}",
53+
"",
54+
),
4555
):
4656
session.evaluate("Clear[h]; Clear[g]; Clear[f];")
4757
check_evaluation(str_expr, str_expected, message)

0 commit comments

Comments
 (0)