public void test_getDoubleNegativeWithExponential() {
Exception ex = null;
try {
System.setProperty("org.apache.wink.common.model.json.factory.impl", "org.apache.wink.json4j.compat.impl.ApacheJSONFactory");
JSONFactory factory = JSONFactory.newInstance();
JSONArray jArray = factory.createJSONArray("[-100959e-3]");
assertTrue(jArray.getDouble(0) == (double)-100.959);
} catch (Exception ex1) {
ex = ex1;
ex.printStackTrace();
}
assertTrue(ex == null);