mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 11:05:28 -04:00
adds comment on test case to document why it was added.
This commit is contained in:
parent
ba6c4089ea
commit
f9908a6adb
@ -3081,6 +3081,10 @@ public class JSONObjectTest {
|
||||
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 + "}]");
|
||||
|
Loading…
x
Reference in New Issue
Block a user