code: def test_tokenize():
      strings = cudf.Series(
          [
              "the quick fox jumped over the lazy dog",
              "the siamésé cat jumped under the sofa",
              None,
              "",
          ]
      )
  
      expected_values = [
          "the",
          "quick",
          "fox",
          "jumped",
          "over",
          "the",
          "lazy",
          "dog",
          "the",
          "siamésé",
          "cat",
          "jumped",
          "under",
          "the",
          "sofa",
      ]
      expected_index = strings.index.repeat(strings.str.token_count())
      expected = cudf.Series(expected_values, index=expected_index)
  
      actual = strings.str.tokenize()
  
      assert type(expected) == type(actual)
      assert_eq(expected, actual)
  
imports: import random
  import string
  import numpy
  import pytest
  import cudf
  from cudf.core.byte_pair_encoding import BytePairEncoder
  from cudf.core.tokenize_vocabulary import TokenizeVocabulary
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 1 for calling a global function with example usage: test_tokenize() without return types