code: def test_expand_line(line):
      out = expand_line(line, (100, 100))
      assert isinstance(out, tuple)
      assert all(
          isinstance(val, (float, int, np.int32, np.float64))
          and val >= 0
          for val in out
      )
  
file_path: doctr/tests/common/test_transforms.py
imports: import numpy
  import pytest
  from doctr.transforms import modules
  from doctr.transforms.functional.base import expand_line
label_desc: Use image node_id 5 for calling a global function with example usage: test_expand_line(line) without return types