Skip to content

Commit

Permalink
Added test for issue sympy#9326
Browse files Browse the repository at this point in the history
  • Loading branch information
toolforger committed Apr 22, 2015
1 parent 01400b0 commit 49320dc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sympy/core/tests/test_evalf.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,3 +472,10 @@ def test_issue_8853():
assert get_integer_part(S.Half, 1, {}, True) == (1, 0)
assert get_integer_part(-S.Half, -1, {}, True) == (-1, 0)
assert get_integer_part(-S.Half, 1, {}, True) == (0, 0)

def test_issue_9326():
from sympy import Dummy
d1 = Dummy('d')
d2 = Dummy('d')
e = d1 + d2
assert e.evalf(subs = {d1: 1, d2: 2}) == 3

0 comments on commit 49320dc

Please sign in to comment.