code: def test_init():
      text = "test this."
      tokens = ["test", "this", "."]
  
      span_utils = SpanUtils(text, tokens)
  
      assert span_utils.text is text
      assert span_utils.tokens is tokens
  
      assert span_utils.token_to_char_idx == {
          0: (0, 4),
          1: (5, 9),
          2: (9, 10),
      }
      assert span_utils.char_to_token_idx == {
          0: 0,
          1: 0,
          2: 0,
          3: 0,
          5: 1,
          6: 1,
          7: 1,
          8: 1,
          9: 2,
      }
  
      assert span_utils._start_to_token_idx == {0: 0, 5: 1, 9: 2}
      assert span_utils._end_to_token_idx == {4: 0, 9: 1, 10: 2}
  
file_path: argilla/tests/unit/utils/test_span_utils.py
imports: import pytest
  from argilla.utils.span_utils import SpanUtils
label_desc: Use image node_id 1 for calling a global function with example usage: test_init() without return types