code: def test_grid_points_in_poly():
      v = np.array([[0, 0], [5, 0], [5, 5]])
  
      expected = np.tril(np.ones((5, 5), dtype=bool))
  
      assert_array_equal(grid_points_in_poly((5, 5), v), expected)
  
file_path: scikit-image/skimage/measure/tests/test_pnpoly.py
imports: import numpy
  from skimage.measure import points_in_poly, grid_points_in_poly
  from skimage._shared.testing import assert_array_equal
label_desc: Use image node_id 1 for calling a global function with example usage: test_grid_points_in_poly() without return types