### Question:
StringScanner { public static float parseFloat( String buffer, int from, int to ) { return CharScanner.parseFloat( FastStringUtils.toCharArray(buffer), from , to ); }  static boolean isDigits( String input ); static String[] split( final String string,
                                  final char split, final int limit ); static String[] split( final String string,
                                  final char split ); static String[] splitByChars( final String string,
                                         final char... delimiters ); static String[] splitByCharsFromToDelims( final String string, int from, int to,
                                         final char... delimiters ); static String[] splitByCharsFrom( final String string, int from,
                                                     final char... delimiters ); static String[] splitByWhiteSpace( final String string
                                         ); static String[] splitByDelimiters( final String string,
                                              final String delimiters ); static String[] splitByCharsNoneEmpty( final String string, final char... delimiters ); static String removeChars( final String string, final char... delimiters ); static String[] splitByCharsNoneEmpty( final String string, int start, int end, final char... delimiters ); static float parseFloat( String buffer, int from, int to ); static float parseFloat( String buffer ); static double parseDouble( String buffer, int from, int to ); static double parseDouble( String buffer ); static int parseInt( String buffer, int from, int to ); static int parseInt( String buffer ); static long parseLong( String buffer, int from, int to ); static long parseLong( String buffer ); static short parseShort( String buffer, int from, int to ); static short parseShort( String buffer ); static short parseByte( String buffer, int from, int to ); static short parseByte( String buffer ); static int findWhiteSpace(String buffer); static String substringAfter(String string, String after); static String substringBefore(String string, String before);  }### Answer:
@Test public void parseFloatIssue179() { String testString = "-0.0"; float value = StringScanner.parseFloat(testString); String str = ""+value; ok |= str.equals("-0.0") || die(); }