code: def test_tri_sym_convert():
      from brainiak.utils.utils import from_tri_2_sym, from_sym_2_tri
      import numpy as np
  
      sym = np.random.rand(3, 3)
      tri = from_sym_2_tri(sym)
      assert tri.shape[0] == 6, "from_sym_2_tri returned wrong result!"
      sym1 = from_tri_2_sym(tri, 3)
      assert (
          sym1.shape[0] == sym1.shape[1]
      ), "from_tri_2_sym returned wrong shape!"
      tri1 = from_sym_2_tri(sym1)
      assert np.array_equiv(
          tri, tri1
      ), "from_sym_2_tri returned wrong result!"
  
file_path: brainiak/tests/utils/test_utils.py
imports: import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_tri_sym_convert() without return types