code: def test_tamil_script():
      # This test adapted from https://www.unicode.org/L2/L2023/23107-terminal-suppt.pdf
      phrase = (
          "\u0b95"  # Akhand, Category 'Lo', East Asian Width property 'N' -- TAMIL LETTER KA
          "\u0bcd"  # Joiner, Category 'Mn', East Asian Width property 'N' -- TAMIL SIGN VIRAMA
          "\u0bb7"  # Fused, Category 'Lo', East Asian Width property 'N' -- TAMIL LETTER SSA
          "\u0bcc"
      )  # MatraLR, Category 'Mc', East Asian Width property 'N' -- TAMIL VOWEL SIGN AU
      # 23107-terminal-suppt.pdf suggests wcwidth.wcwidth should return (3, 0, 0, 4)
      expect_length_each = (1, 0, 1, 0)
  
      # I believe the final width should be about 5 or 6.
      expect_length_phrase = 2
  
      # 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 14 for calling a global function with example usage: test_tamil_script() without return types