code: def test_cursor_position(document):
      assert document.cursor_position_row == 1
      assert document.cursor_position_col == 3
  
      d = Document("", 0)
      assert d.cursor_position_row == 0
      assert d.cursor_position_col == 0
  
file_path: catboost/contrib/python/prompt-toolkit/py3/tests/test_document.py
imports: from __future__ import annotations
  import pytest
  from prompt_toolkit.document import Document
label_desc: Use image node_id 10 for calling a global function with example usage: test_cursor_position(document) without return types