### Question:
Strings { public static String unifySlash(String s) { return trimSeparator(s, "\\", "/"); }  static String trimSeparator(String s, String sep); static String trimSeparator(String s, String oldSep, String newSep); static String unifySlash(String s); static boolean hasLength(CharSequence str); static boolean hasText(CharSequence str); static boolean isEmpty(String string); static boolean isNotEmpty(String string); static String rightPad(String str, int length); static boolean isNotBlank(String str); static boolean isBlank(String str); static String[] split(String src, String delimiter); static String toHumpString(String left, String right); static final String EMPTY; }### Answer:
@Test public void unifySlash() { String a = "/a b = "/a c = "a\\b\\\\c\\\\\\"; assertEquals("/a/b/c/d/e/f 1", Strings.unifySlash(a)); assertEquals("/a/b/c", Strings.unifySlash(b)); assertEquals("a/b/c", Strings.unifySlash(c)); }