code: def test_resolve_lines(input_boxes, lines):
      doc_builder = builder.DocumentBuilder()
      assert (
          doc_builder._resolve_lines(np.asarray(input_boxes)) == lines
      )
  
file_path: doctr/tests/common/test_models_builder.py
imports: import numpy
  import pytest
  from doctr.file_utils import CLASS_NAME
  from doctr.io import Document
  from doctr.io.elements import KIEDocument
  from doctr.models import builder
label_desc: Use image node_id 4 for calling a global function with example usage: test_resolve_lines(input_boxes, lines) without return types