code: def test_n_long_words(doc, words, min_n_chars, n_exp):
      n_long_words = basics.n_long_words(doc, min_n_chars=min_n_chars)
      n_long_words_by_words = basics.n_long_words(
          words, min_n_chars=min_n_chars
      )
      assert n_long_words == n_exp
      assert n_long_words == n_long_words_by_words
  
file_path: textacy/tests/text_stats/test_basics.py
imports: import pytest
  from textacy import extract
  from textacy import make_spacy_doc
  from textacy.text_stats import basics
label_desc: Use image node_id 7 for calling a global function with example usage: test_n_long_words(doc, words, min_n_chars, n_exp) without return types