We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a85f67 commit e58bb98Copy full SHA for e58bb98
symengine/tests/test_expr.py
@@ -37,3 +37,8 @@ def test_Basic__has():
37
assert e.has(xp3)
38
assert e.has(ym4)
39
assert not e.has(y-5)
40
+
41
+ assert (x + oo).has(oo)
42
+ assert (x - oo).has(-oo)
43
+ assert not (x + oo).has(-oo)
44
+ #assert not (x - oo).has(oo) <-- not sure we want to test explicitly for "x + NegativeInfinity"
0 commit comments