code: def test_matrix():
      from sympy.matrices.expressions.matexpr import MatrixSymbol
  
      X = MatrixSymbol("X", n, n)
      Y = MatrixSymbol("Y", 2, 2)
      Z = MatrixSymbol("Z", 2, 3)
      assert list(unify(X, Y, {}, variables=[n, Str("X")])) == [
          {Str("X"): Str("Y"), n: 2}
      ]
      assert list(unify(X, Z, {}, variables=[n, Str("X")])) == []
  
imports: from sympy.core.add import Add
  from sympy.core.basic import Basic
  from sympy.core.containers import Tuple
  from sympy.core.singleton import S
  from sympy.core.symbol import Symbol, symbols
  from sympy.logic.boolalg import And
  from sympy.core.symbol import Str
  from sympy.unify.core import Compound, Variable
  from sympy.unify.usympy import deconstruct, construct, unify, is_associative, is_commutative
  from sympy.abc import x, y, z, n
label_desc: Use image node_id 11 for calling a global function with example usage: test_matrix() without return types