Skip to content

Commit

Permalink
add test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankShrimp committed Sep 11, 2023
1 parent 7325af3 commit 00d39ee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/builtin/calculus/test_solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ def test_solve():
"{x->1.51213}",
"Issue #1235",
),
(
"Solve[{x^2==4 && x < 0},{x}]",
"{x->-2}",
"",
),
(
"Solve[{x^2==4 && x < 0 && x > -4},{x}]",
"{x->-2}",
"",
),
):
session.evaluate("Clear[h]; Clear[g]; Clear[f];")
check_evaluation(str_expr, str_expected, message)

0 comments on commit 00d39ee

Please sign in to comment.