code: def test_cosine_exact_match():
      text = "Toto je moja veta, to sa nedá poprieť."
      model = TfDocumentModel(text, Tokenizer("czech"))
  
      assert cosine_similarity(model, model) == approx(1.0)
  
file_path: sumy/tests/test_evaluation/test_evaluation_content_based.py
imports: from __future__ import absolute_import
  from __future__ import division, print_function, unicode_literals
  import pytest
  from pytest import approx
  from sumy.evaluation import cosine_similarity, unit_overlap
  from sumy.models import TfDocumentModel
  from sumy.nlp.tokenizers import Tokenizer
label_desc: Use image node_id 3 for calling a global function with example usage: test_cosine_exact_match() without return types