code: def test_idempotency_compressor(text):
      # I've modified idempotency to some kind of distributivity for constant.
      # Now it indicates that compressor really compress.
      assert ALG._get_size(text * 2) < ALG._get_size(text) * 2
  
file_path: textdistance/tests/test_compression/test_sqrt_ncd.py
imports: from math import isclose
  import hypothesis
  import pytest
  import textdistance
label_desc: Use image node_id 3 for calling a global function with example usage: test_idempotency_compressor(text) without return types