### Question:
StringFunctions { public static int getWidth(final String str, final Charset charset) { int width = 0; for (int i = 0; i < str.length(); i++) { width += (str.charAt(i) < 256 ? 1 : 2); } return width; } private  StringFunctions(); static int getWidth(final String str, final Charset charset); static int getWidth(final String str); static String urlDecode(final String encoded, final Charset charset); static String urlEncode(final String string, final Charset charset);  }### Answer:
@Test public void testGetWidth() { Assert.assertEquals(5, StringFunctions.getWidth("あsか")); Assert.assertEquals(25, StringFunctions.getWidth("んrtsう゛ぃるracんiづonい")); }