code: def test_distance_matrix(left, right, expected):
      sim_matrix = textdistance.Matrix(NW_MATRIX, symmetric=True)
      actual = ALG(gap_cost=5, sim_func=sim_matrix)(left, right)
      assert actual == expected
  
imports: import pytest
  import textdistance
label_desc: Use image node_id 1 for calling a global function with example usage: test_distance_matrix(left, right, expected) without return types