### Question:
CSSParseHelper { @Nonnull public static String splitNumber (@Nonnull final StringBuilder aPattern) { final Matcher m = SPLIT_NUMBER_PATTERN.matcher (aPattern); if (m.matches ()) return m.group (1); return ""; } private  CSSParseHelper(); @Nullable static String extractStringValue(@Nullable final String sStr); @Nonnull static String unescapeURL(@Nonnull final String sEscapedURL); @Nonnull static String trimUrl(@Nonnull final CharSequence s); @Nonnull static String splitNumber(@Nonnull final StringBuilder aPattern); @Nonnull static String validateIdentifier(@Nonnull final StringBuilder aPattern); @Nonnull static String unescapeUnicode(final StringBuilder aImage); @Nonnull static String unescapeOther(final StringBuilder aImage); static final char URL_ESCAPE_CHAR; }### Answer:
@Test public void testSplitNumber () { assertEquals ("0", _split ("0px")); assertEquals ("17", _split ("17in")); assertEquals ("17", _split ("17 in")); assertEquals ("17.1234", _split ("17.1234 in")); assertEquals ("0.5", _split ("0.5dpi")); assertEquals (".5", _split (".5dpi")); assertEquals ("0", _split ("0")); assertEquals ("17", _split ("17")); assertEquals ("17", _split ("17 ")); assertEquals ("17.1234", _split ("17.1234 ")); assertEquals ("0.5", _split ("0.5")); assertEquals (".5", _split (".5")); assertEquals ("", _split (".")); assertEquals ("", _split ("any")); assertEquals ("", _split ("")); }