Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Explicitly test the equality of Morphism's.

Previously the equality of morphisms was implicitly tested in other
contexts.
  • Loading branch information...
commit 96f2c3f63e7b024935921911cd0a6e6f66b2c57e 1 parent c60d285
@scolobb authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  sympy/categories/tests/test_baseclasses.py
View
3  sympy/categories/tests/test_baseclasses.py
@@ -32,6 +32,9 @@ def test_morphism():
assert f.components == [f]
assert f != None
+ assert f == f
+ assert f == Morphism(A, B, "f")
+ assert f != g
assert f * g == None
assert f * f == None
Please sign in to comment.
Something went wrong with that request. Please try again.