### Question:
DNDListDOMHelper { static Double parseDouble(final String value) { try { return Double.valueOf(withoutPX(value)); } catch (final NumberFormatException e) { return 0d; } }   static final String DRAGGING; }### Answer:
@Test public void testParseDouble() { assertEquals(parseDouble("10"), new Double(10)); assertEquals(parseDouble("10.5"), new Double(10.5)); assertEquals(parseDouble("10.5px"), new Double(10.5)); assertEquals(parseDouble("something..."), new Double(0)); }