code: def test_equality():
      a, b, c = Identity(3), eye(3), ImmutableMatrix(eye(3))
      for x in [a, b, c]:
          for y in [a, b, c]:
              assert x.equals(y)
  
file_path: sympy/sympy/matrices/tests/test_interactions.py
imports: from sympy.core.symbol import symbols
  from sympy.matrices import Matrix, MatrixSymbol, eye, Identity, ImmutableMatrix
  from sympy.matrices.expressions import MatrixExpr, MatAdd
  from sympy.matrices.matrixbase import classof
  from sympy.testing.pytest import raises
label_desc: Use image node_id 3 for calling a global function with example usage: test_equality() without return types