Code example for BigInteger

Methods: add

0
		Object r = array.get(0);
		assertEquals(v, r);
	} 
 
	public void testMaxBig() { 
		BigInteger v = BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE);
		String s = "[" + v + "]";
		JSONArray array = (JSONArray) JSONValue.parse(s);
		Object r = array.get(0);
		assertEquals(v, r);
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE