@Test public void testInfinity(){ System.out.println(""+Double.POSITIVE_INFINITY); System.out.println(""+Double.NEGATIVE_INFINITY); double value = Double.NEGATIVE_INFINITY; String code = NumberFormatter.getNumberString(value); Assert.assertEquals("Double.NEGATIVE_INFINITY", code); }
public static String getNumberString(Object value) { return getNumberString(value, null); }
NumberFormatter { public static String getNumberString(Object value) { return getNumberString(value, null); } }
NumberFormatter { public static String getNumberString(Object value) { return getNumberString(value, null); }  }
NumberFormatter { public static String getNumberString(Object value) { return getNumberString(value, null); }  static String getNumberString(Object value); static String getNumberString(Object value, TestCodeVisitor visitor); static String getBoxedClassName(Object value); }
NumberFormatter { public static String getNumberString(Object value) { return getNumberString(value, null); }  static String getNumberString(Object value); static String getNumberString(Object value, TestCodeVisitor visitor); static String getBoxedClassName(Object value);  }