### Question:
ELUtils { public static boolean isFloatingPointString(String s) { return (s != null) && Pattern.matches("^[+-]?(\\p{Nd}+\\.?\\p{Nd}*|\\.\\p{Nd}+)(([eE][+-]?)?\\p{Nd}+)?$", s); } private  ELUtils(); static boolean isNumericString(String s); static boolean isFloatingPointString(String s);  }### Answer:
@Test public void isFloatingPointString_stringWithNumbersOnly_true() { boolean result = ELUtils.isFloatingPointString("23"); assertTrue(result); }
@Test public void isFloatingPointString_stringWithNumbersAndDotInTheMiddle_true() { boolean result = ELUtils.isFloatingPointString("23.23"); assertTrue(result); }
@Test public void isFloatingPointString_stringWithNumbersAndDotInTheEnd_false() { boolean result = ELUtils.isFloatingPointString("23."); assertTrue(result); }
@Test public void isFloatingPointString_stringWithNormalizedFloatingPoint_true() { boolean result = ELUtils.isFloatingPointString("1.574e10"); assertTrue(result); }