We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba6c408 commit f9908a6Copy full SHA for f9908a6
1 file changed
src/test/java/org/json/junit/JSONObjectTest.java
@@ -3081,6 +3081,10 @@ public void testWierdListBean() {
3081
assertNotNull(jo.get("ALL"));
3082
}
3083
3084
+ /**
3085
+ * Sample test case from https://github.com/stleary/JSON-java/issues/531
3086
+ * which verifies that no regression in double/BigDecimal support is present.
3087
+ */
3088
public void testObjectToBigDecimal() {
3089
double value = 1412078745.01074;
3090
Reader reader = new StringReader("[{\"value\": " + value + "}]");
0 commit comments