diff --git a/src/test/java/org/json/junit/JSONObjectTest.java b/src/test/java/org/json/junit/JSONObjectTest.java index 224c61e13..56e110edd 100644 --- a/src/test/java/org/json/junit/JSONObjectTest.java +++ b/src/test/java/org/json/junit/JSONObjectTest.java @@ -3081,6 +3081,10 @@ public void testWierdListBean() { assertNotNull(jo.get("ALL")); } + /** + * Sample test case from https://github.com/stleary/JSON-java/issues/531 + * which verifies that no regression in double/BigDecimal support is present. + */ public void testObjectToBigDecimal() { double value = 1412078745.01074; Reader reader = new StringReader("[{\"value\": " + value + "}]");