code: def test_balinese_script():
      """
      Balinese kapal (ship) is length 3.
  
      This may be an example that is not yet correctly rendered by any terminal so
      far, like devanagari.
      """
      phrase = (
          "\u1B13"  # Category 'Lo', EAW 'N' -- BALINESE LETTER KA
          "\u1B28"  # Category 'Lo', EAW 'N' -- BALINESE LETTER PA KAPAL
          "\u1B2E"  # Category 'Lo', EAW 'N' -- BALINESE LETTER LA
          "\u1B44"
      )  # Category 'Mc', EAW 'N' -- BALINESE ADEG ADEG
      expect_length_each = (1, 1, 1, 0)
      expect_length_phrase = 3
  
      # 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/py2/tests/test_core.py
imports: import wcwidth
label_desc: Use image node_id 11 for calling a global function with example usage: test_balinese_script() without return types