code: def test_skip():
      _docnums = [
          1,
          3,
          12,
          34,
          43,
          67,
          68,
          102,
          145,
          212,
          283,
          291,
          412,
          900,
          905,
          1024,
          1800,
          2048,
          15000,
      ]
      st, codec, seg = _make_codec()
      fieldobj = fields.TEXT()
      fw = codec.field_writer(st, seg)
      fw.start_field("f1", fieldobj)
      fw.start_term(b("test"))
      for n in _docnums:
          fw.add(n, 1.0, b(""), None)
      fw.finish_term()
      fw.finish_field()
      fw.close()
  
      tr = codec.terms_reader(st, seg)
      m = tr.matcher("f1", b("test"), fieldobj.format)
      assert m.id() == 1
      m.skip_to(220)
      assert m.id() == 283
      m.skip_to(1)
      assert m.id() == 283
      m.skip_to(1000)
      assert m.id() == 1024
      m.skip_to(1800)
      assert m.id() == 1800
  
imports: from __future__ import with_statement
  import random
  from array import array
  import pytest
  from whoosh import analysis, fields, formats, query
  from whoosh.compat import u, b, text_type
  from whoosh.compat import array_tobytes, xrange
  from whoosh.codec import default_codec
  from whoosh.filedb.filestore import RamStorage
  from whoosh.util.testing import TempStorage
label_desc: Use image node_id 16 for calling a global function with example usage: test_skip() without return types