@@ -0,0 +1,1066 @@
+package com.alibaba.json.bvt;%0A%0Aimport java.math.BigInteger;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSONObject;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class JSONObjectTest_getBigInteger extends TestCase %7B%0A%0A    public void test_get_float() throws Exception %7B%0A        JSONObject obj = new JSONObject();%0A        obj.put(%22value%22, 123.45F);%0A        Assert.assertTrue(123.45F == ((Float) obj.get(%22value%22)).floatValue());%0A        Assert.assertEquals(new BigInteger(%22123%22), obj.getBigInteger(%22value%22));%0A    %7D%0A    %0A    public void test_get_double() throws Exception %7B%0A        JSONObject obj = new JSONObject();%0A        obj.put(%22value%22, 123.45D);%0A        Assert.assertTrue(123.45D == ((Double) obj.get(%22value%22)).doubleValue());%0A        Assert.assertEquals(new BigInteger(%22123%22), obj.getBigInteger(%22value%22));%0A    %7D%0A    %0A    public void test_get_empty() throws Exception %7B%0A        JSONObject obj = new JSONObject();%0A        obj.put(%22value%22, %22%22);%0A        Assert.assertEquals(%22%22, obj.get(%22value%22));%0A        Assert.assertNull(obj.getBigInteger(%22value%22));%0A    %7D%0A%7D%0A

add testcase