code: def test_line_equal_aliasing_horizontally_vertically():
      img0 = np.zeros((25, 25))
      img1 = np.zeros((25, 25))
  
      # Near-horizontal line
      rr, cc, val = line_aa(10, 2, 12, 20)
      img0[rr, cc] = val
  
      # Near-vertical (transpose of prior)
      rr, cc, val = line_aa(2, 10, 20, 12)
      img1[rr, cc] = val
  
      # Difference - should be zero
      assert_array_equal(img0, img1.T)
  
imports: import numpy
  from numpy.testing import assert_array_equal, assert_equal, assert_almost_equal
  import pytest
  from skimage._shared.testing import run_in_parallel
  from skimage._shared._dependency_checks import has_mpl
  from skimage.draw import set_color, line, line_aa, polygon, polygon_perimeter, disk, circle_perimeter, circle_perimeter_aa, ellipse, ellipse_perimeter, _bezier_segment, bezier_curve, rectangle, rectangle_perimeter
  from skimage.measure import regionprops
label_desc: Use image node_id 10 for calling a global function with example usage: test_line_equal_aliasing_horizontally_vertically() without return types