code: def test_combining_width():
      """Simple test combining reports total width of 4."""
      # given,
      phrase = "--\u05bf--"
      expect_length_each = (1, 1, 0, 1, 1)
      expect_length_phrase = 4
  
      # exercise,
      length_each = tuple(map(wcwidth.wcwidth, phrase))
      length_phrase = wcwidth.wcswidth(phrase)
  
      # verify.
      assert length_each == expect_length_each
      assert length_phrase == expect_length_phrase
  
file_path: catboost/contrib/python/wcwidth/py3/tests/test_core.py
imports: import wcwidth
label_desc: Use image node_id 8 for calling a global function with example usage: test_combining_width() without return types