SvgCssUtils { public static String convertFloatToString(float value) { return String.valueOf(value); } private  SvgCssUtils(); static List<String> splitValueList(String value); static String convertFloatToString(float value); static String convertDoubleToString(double value); @Deprecated static float convertPtsToPx(float pts); @Deprecated static double convertPtsToPx(double pts); @Deprecated static boolean isStyleSheetLink(IElementNode headChildElement);  }
@Test public void convertFloatToStringTest() { String expected = "0.5"; String actual = SvgCssUtils.convertFloatToString(0.5f); Assert.assertEquals(expected, actual); }
@Test public void convertLongerFloatToStringTest() { String expected = "0.1234567"; String actual = SvgCssUtils.convertFloatToString(0.1234567f); Assert.assertEquals(expected, actual); }