code: def test_private_project_token_span():
      mat = np.eye(5, dtype=int)
      mat[0][0] = 0
      mat[3][3] = 0
      assert TokenAligner._project_span(mat, 1, 3, inclusive=True) == (
          1,
          2,
      )
      assert TokenAligner._project_span(mat, 1, 3, inclusive=False) == (
          1,
          3,
      )
      assert TokenAligner._project_span(mat, 1, 2, inclusive=True) == (
          1,
          2,
      )
      assert TokenAligner._project_span(mat, 1, 2, inclusive=False) == (
          1,
          2,
      )
      assert TokenAligner._project_span(mat, 1, 4, inclusive=True) == (
          1,
          4,
      )
      assert TokenAligner._project_span(mat, 1, 4, inclusive=False) == (
          1,
          3,
      )
  
imports: import numpy
  import pytest
  from jiant.utils.retokenize import TokenAligner, token_to_char
label_desc: Use image node_id 35 for calling a global function with example usage: test_private_project_token_span() without return types