@@ -0,0 +1,2529 @@
+package com.alibaba.json.bvt.value;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class LongValueTest extends TestCase %7B%0A%0A    public void test_value() %7B%0A        long step = ((long) Integer.MAX_VALUE) * 1000 * 1000;%0A        for (long i = Long.MIN_VALUE; i %3C= 0; i += step) %7B%0A            VO vo = new VO();%0A            vo.value = i;%0A            String text = JSON.toJSONString(vo);%0A            VO vo2 = JSON.parseObject(text, VO.class);%0A            Assert.assertEquals(vo.value, vo2.value);%0A        %7D%0A        for (long i = Long.MAX_VALUE; i %3E= 0; i -= step) %7B%0A            VO vo = new VO();%0A            vo.value = i;%0A            String text = JSON.toJSONString(vo);%0A            VO vo2 = JSON.parseObject(text, VO.class);%0A            Assert.assertEquals(vo.value, vo2.value);%0A        %7D%0A    %7D%0A%0A    public void test_value_1() %7B%0A        long step = ((long) Integer.MAX_VALUE) * 1000 * 1000;%0A        for (long i = Long.MIN_VALUE; i %3C= 0; i += step) %7B%0A            V1 vo = new V1();%0A            vo.value = i;%0A            String text = JSON.toJSONString(vo);%0A            V1 vo2 = JSON.parseObject(text, V1.class);%0A            Assert.assertEquals(vo.value, vo2.value);%0A        %7D%0A        for (long i = Long.MAX_VALUE; i %3E= 0; i -= step) %7B%0A            V1 vo = new V1();%0A            vo.value = i;%0A            String text = JSON.toJSONString(vo);%0A            V1 vo2 = JSON.parseObject(text, V1.class);%0A            Assert.assertEquals(vo.value, vo2.value);%0A        %7D%0A    %7D%0A    %0A    public void test_value_2() %7B%0A        long step = ((long) Integer.MAX_VALUE) * 1000 * 1000;%0A        for (long i = Long.MIN_VALUE; i %3C= 0; i += step) %7B%0A            V2 vo = new V2();%0A            vo.value = i;%0A            String text = JSON.toJSONString(vo);%0A            V2 vo2 = JSON.parseObject(text, V2.class);%0A            Assert.assertEquals(vo.value, vo2.value);%0A        %7D%0A        for (long i = Long.MAX_VALUE; i %3E= 0; i -= step) %7B%0A            V2 vo = new V2();%0A            vo.value = i;%0A            String text = JSON.toJSONString(vo);%0A            V2 vo2 = JSON.parseObject(text, V2.class);%0A            Assert.assertEquals(vo.value, vo2.value);%0A        %7D%0A    %7D%0A%0A    public static class VO %7B%0A%0A        public long value;%0A    %7D%0A%0A    static class V1 %7B%0A%0A        public long value;%0A    %7D%0A%0A    public static class V2 %7B%0A%0A        private long value;%0A%0A        public long getValue() %7B%0A            return value;%0A        %7D%0A%0A        public void setValue(long value) %7B%0A            this.value = value;%0A        %7D%0A%0A    %7D%0A%7D%0A

add testcase