UnitTests
Some Json parsing unit tests.unknown
c_cpp
11 days ago
16 kB
2
Indexable
Never
Conformance Tests: Running Test: fail02.json Test: fail02.json = Succeeded 02 Running Test: fail03.json Test: fail03.json = Succeeded 02 Running Test: fail04.json Test: fail04.json = Succeeded 02 Running Test: fail05.json Test: fail05.json = Succeeded 02 Running Test: fail06.json Test: fail06.json = Succeeded 02 Running Test: fail07.json Test: fail07.json = Succeeded 02 Running Test: fail08.json Test: fail08.json = Succeeded 02 Running Test: fail09.json Test: fail09.json = Succeeded 02 Running Test: fail10.json Test: fail10.json = Succeeded 02 Running Test: fail11.json Test: fail11.json = Succeeded 02 Running Test: fail12.json Test: fail12.json = Succeeded 02 Running Test: fail13.json Test: fail13.json = Succeeded 02 Running Test: fail14.json Test: fail14.json = Succeeded 02 Running Test: fail15.json Test: fail15.json = Succeeded 02 Running Test: fail16.json Test: fail16.json = Succeeded 02 Running Test: fail17.json Test: fail17.json = Succeeded 02 Running Test: fail19.json Test: fail19.json = Succeeded 02 Running Test: fail20.json Test: fail20.json = Succeeded 02 Running Test: fail21.json Test: fail21.json = Succeeded 02 Running Test: fail22.json Test: fail22.json = Succeeded 02 Running Test: fail23.json Test: fail23.json = Succeeded 02 Running Test: fail24.json Test: fail24.json = Succeeded 02 Running Test: fail25.json Test: fail25.json = Succeeded 02 Running Test: fail26.json Test: fail26.json = Succeeded 02 Running Test: fail27.json Test: fail27.json = Succeeded 02 Running Test: fail28.json Test: fail28.json = Succeeded 02 Running Test: fail29.json Test: fail29.json = Succeeded 02 Running Test: fail30.json Test: fail30.json = Succeeded 02 Running Test: fail31.json Test: fail31.json = Succeeded 02 Running Test: fail32.json Test: fail32.json = Succeeded 02 Running Test: fail33.json Test: fail33.json = Succeeded 02 RoundTrip Tests: Running Test: roundtrip01.json Test: roundtrip01.json = Succeeded - Output: [null] Running Test: roundtrip02.json Test: roundtrip02.json = Succeeded - Output: [true] Running Test: roundtrip03.json Test: roundtrip03.json = Succeeded - Output: [false] Running Test: roundtrip04.json Test: roundtrip04.json = Succeeded - Output: [0] Running Test: roundtrip05.json Test: roundtrip05.json = Succeeded - Output: ["foo"] Running Test: roundtrip06.json Test: roundtrip06.json = Succeeded - Output: [] Running Test: roundtrip07.json Test: roundtrip07.json = Succeeded - Output: {} Running Test: roundtrip08.json Test: roundtrip08.json = Succeeded - Output: [0,1] Running Test: roundtrip09.json Test: roundtrip09.json = Succeeded - Output: {"foo":"bar"} Running Test: roundtrip10.json Test: roundtrip10.json = Succeeded - Output: {"a":null,"foo":"bar"} Running Test: roundtrip11.json Test: roundtrip11.json = Succeeded - Output: [-1] Running Test: roundtrip12.json Test: roundtrip12.json = Succeeded - Output: [-2147483648] Running Test: roundtrip13.json Test: roundtrip13.json = Succeeded - Output: [-1234567890123456789] Running Test: roundtrip14.json Test: roundtrip14.json = Succeeded - Output: [-9223372036854775808] Running Test: roundtrip15.json Test: roundtrip15.json = Succeeded - Output: [1] Running Test: roundtrip16.json Test: roundtrip16.json = Succeeded - Output: [2147483647] Running Test: roundtrip17.json Test: roundtrip17.json = Succeeded - Output: [4294967295] Running Test: roundtrip18.json Test: roundtrip18.json = Succeeded - Output: [1234567890123456789] Running Test: roundtrip19.json Test: roundtrip19.json = Succeeded - Output: [9223372036854775807] Running Test: roundtrip20.json Test: roundtrip20.json = Succeeded - Output: [0] Running Test: roundtrip21.json Test: roundtrip21.json = Succeeded - Output: [-0] Running Test: roundtrip22.json Test: roundtrip22.json = Succeeded - Output: [1.2345] Running Test: roundtrip23.json Test: roundtrip23.json = Succeeded - Output: [-1.2345] Running Test: roundtrip24.json Test: roundtrip24.json = Succeeded - Output: [0.00000000000005E-310] Running Test: roundtrip25.json Test: roundtrip25.json = Succeeded - Output: [2.225073858507201E-308] Running Test: roundtrip26.json Test: roundtrip26.json = Succeeded - Output: [2.2250738585072014E-308] Running Test: roundtrip27.json Test: roundtrip27.json = Succeeded - Output: [1.7976931348623157E308] String Tests: test1.json Input: [""] test1.json Succeeded - Output: test1.json Succeeded - Expected Output: test2.json Input: ["Hello"] test2.json Succeeded - Output: Hello test2.json Succeeded - Expected Output: Hello test3.json Input: ["Hello\nWorld"] test3.json Succeeded - Output: Hello World test3.json Succeeded - Expected Output: Hello World test5.json Input: ["Hello\u0000World"] test5.json Succeeded - Output: HelloWorld test5.json Succeeded - Expected Output: Hello test6.json Input: ["\"\\/\b\f\n\r\t"] test6.json Succeeded - Output: "\/ test6.json Succeeded - Expected Output: "\/ test8.json Input: ["\u0024"] test8.json Succeeded - Output: $ test8.json Succeeded - Expected Output: $ test9.json Input: ["\u00A2"] test9.json Succeeded - Output: ¢ test9.json Succeeded - Expected Output: ¢ test10.json Input: ["\u20AC"] test10.json Succeeded - Output: € test10.json Succeeded - Expected Output: € test11.json Input: ["\uD834\uDD1E"] test11.json Succeeded - Output: 𝄞 test11.json Succeeded - Expected Output: 𝄞 Float Tests: test1.json Input: [0.0] test1.json Succeeded - Output: 0 test1.json Succeeded - Expected Output: 0 test2.json Input: [-0.0] test2.json Succeeded - Output: -0 test2.json Succeeded - Expected Output: -0 test3.json Input: [1.0] test3.json Succeeded - Output: 1 test3.json Succeeded - Expected Output: 1 test4.json Input: [-1.0] test4.json Succeeded - Output: -1 test4.json Succeeded - Expected Output: -1 test5.json Input: [1.5] test5.json Succeeded - Output: 1.5 test5.json Succeeded - Expected Output: 1.5 test6.json Input: [-1.5] test6.json Succeeded - Output: -1.5 test6.json Succeeded - Expected Output: -1.5 test7.json Input: [3.1416] test7.json Succeeded - Output: 3.1416 test7.json Succeeded - Expected Output: 3.1416 test8.json Input: [1E10] test8.json Succeeded - Output: 1e+10 test8.json Succeeded - Expected Output: 1e+10 test9.json Input: [1e10] test9.json Succeeded - Output: 1e+10 test9.json Succeeded - Expected Output: 1e+10 test10.json Input: [1E+10] test10.json Succeeded - Output: 1e+10 test10.json Succeeded - Expected Output: 1e+10 test11.json Input: [1E-10] test11.json Succeeded - Output: 1e-10 test11.json Succeeded - Expected Output: 1e-10 test12.json Input: [-1E10] test12.json Succeeded - Output: -1e+10 test12.json Succeeded - Expected Output: -1e+10 test13.json Input: [-1e10] test13.json Succeeded - Output: -1e+10 test13.json Succeeded - Expected Output: -1e+10 test14.json Input: [-1E+10] test14.json Succeeded - Output: -1e+10 test14.json Succeeded - Expected Output: -1e+10 test15.json Input: [-1E-10] test15.json Succeeded - Output: -1e-10 test15.json Succeeded - Expected Output: -1e-10 test16.json Input: [1.234E+10] test16.json Succeeded - Output: 1.234e+10 test16.json Succeeded - Expected Output: 1.234e+10 test17.json Input: [1.234E-10] test17.json Succeeded - Output: 1.234e-10 test17.json Succeeded - Expected Output: 1.234e-10 test18.json Input: [1.79769e+308] test18.json Succeeded - Output: 1.79769e+308 test18.json Succeeded - Expected Output: 1.79769e+308 test19.json Input: [2.22507e-308] test19.json Succeeded - Output: 2.22507e-308 test19.json Succeeded - Expected Output: 2.22507e-308 test20.json Input: [-1.79769e+308] test20.json Succeeded - Output: -1.79769e+308 test20.json Succeeded - Expected Output: -1.79769e+308 test21.json Input: [-2.22507e-308] test21.json Succeeded - Output: -2.22507e-308 test21.json Succeeded - Expected Output: -2.22507e-308 test22.json Input: [4.9406564584124654e-324] test22.json Succeeded - Output: 4.94066e-324 test22.json Succeeded - Expected Output: 4.94066e-324 test23.json Input: [2.2250738585072009e-308] test23.json Succeeded - Output: 2.22507e-308 test23.json Succeeded - Expected Output: 2.22507e-308 test24.json Input: [2.2250738585072014e-308] test24.json Succeeded - Output: 2.22507e-308 test24.json Succeeded - Expected Output: 2.22507e-308 test25.json Input: [1.7976931348623157e+308] test25.json Succeeded - Output: 1.79769e+308 test25.json Succeeded - Expected Output: 1.79769e+308 test26.json Input: [1e-10000] test26.json Succeeded - Output: 0 test26.json Succeeded - Expected Output: 0 test27.json Input: [18446744073709551616] test27.json Succeeded - Output: 1.84467e+19 test27.json Succeeded - Expected Output: 1.84467e+19 test28.json Input: [-9223372036854775809] test28.json Succeeded - Output: -9.22337e+18 test28.json Succeeded - Expected Output: -9.22337e+18 test29.json Input: [0.9868011474609375] test29.json Succeeded - Output: 0.986801 test29.json Succeeded - Expected Output: 0.986801 test30.json Input: [123e34] test30.json Succeeded - Output: 1.23e+36 test30.json Succeeded - Expected Output: 1.23e+36 test31.json Input: [45913141877270640000.0] test31.json Succeeded - Output: 4.59131e+19 test31.json Succeeded - Expected Output: 4.59131e+19 test32.json Input: [2.2250738585072011e-308] test32.json Succeeded - Output: 2.22507e-308 test32.json Succeeded - Expected Output: 2.22507e-308 test33.json Input: [1e-00011111111111] test33.json Succeeded - Output: 0 test33.json Succeeded - Expected Output: 0 test34.json Input: [-1e-00011111111111] test34.json Succeeded - Output: -0 test34.json Succeeded - Expected Output: -0 test35.json Input: [1e-214748363] test35.json Succeeded - Output: 0 test35.json Succeeded - Expected Output: 0 test36.json Input: [1e-214748364] test36.json Succeeded - Output: 0 test36.json Succeeded - Expected Output: 0 test37.json Input: [1e-21474836311] test37.json Succeeded - Output: 0 test37.json Succeeded - Expected Output: 0 test38.json Input: [0.017976931348623157e+310] test38.json Succeeded - Output: 1.79769e+308 test38.json Succeeded - Expected Output: 1.79769e+308 test39.json Input: [2.2250738585072012e-308] test39.json Succeeded - Output: 2.22507e-308 test39.json Succeeded - Expected Output: 2.22507e-308 test40.json Input: [2.22507385850720113605740979670913197593481954635164564e-308] test40.json Succeeded - Output: 2.22507e-308 test40.json Succeeded - Expected Output: 2.22507e-308 test41.json Input: [2.22507385850720113605740979670913197593481954635164565e-308] test41.json Succeeded - Output: 2.22507e-308 test41.json Succeeded - Expected Output: 2.22507e-308 test42.json Input: [0.999999999999999944488848768742172978818416595458984375] test42.json Succeeded - Output: 1 test42.json Succeeded - Expected Output: 1 test43.json Input: [0.999999999999999944488848768742172978818416595458984374] test43.json Succeeded - Output: 1 test43.json Succeeded - Expected Output: 1 test44.json Input: [0.999999999999999944488848768742172978818416595458984376] test44.json Succeeded - Output: 1 test44.json Succeeded - Expected Output: 1 test45.json Input: [1.00000000000000011102230246251565404236316680908203125] test45.json Succeeded - Output: 1 test45.json Succeeded - Expected Output: 1 test46.json Input: [1.00000000000000011102230246251565404236316680908203124] test46.json Succeeded - Output: 1 test46.json Succeeded - Expected Output: 1 test47.json Input: [1.00000000000000011102230246251565404236316680908203126] test47.json Succeeded - Output: 1 test47.json Succeeded - Expected Output: 1 test48.json Input: [72057594037927928.0] test48.json Succeeded - Output: 7.20576e+16 test48.json Succeeded - Expected Output: 7.20576e+16 test49.json Input: [72057594037927936.0] test49.json Succeeded - Output: 7.20576e+16 test49.json Succeeded - Expected Output: 7.20576e+16 test50.json Input: [72057594037927932.0] test50.json Succeeded - Output: 7.20576e+16 test50.json Succeeded - Expected Output: 7.20576e+16 test51.json Input: [7205759403792793199999e-5] test51.json Succeeded - Output: 7.20576e+16 test51.json Succeeded - Expected Output: 7.20576e+16 test52.json Input: [7205759403792793200001e-5] test52.json Succeeded - Output: 7.20576e+16 test52.json Succeeded - Expected Output: 7.20576e+16 test53.json Input: [9223372036854774784.0] test53.json Succeeded - Output: 9.22337e+18 test53.json Succeeded - Expected Output: 9.22337e+18 test54.json Input: [9223372036854775808.0] test54.json Succeeded - Output: 9.22337e+18 test54.json Succeeded - Expected Output: 9.22337e+18 test55.json Input: [9223372036854775296.0] test55.json Succeeded - Output: 9.22337e+18 test55.json Succeeded - Expected Output: 9.22337e+18 test56.json Input: [922337203685477529599999e-5] test56.json Succeeded - Output: 9.22337e+18 test56.json Succeeded - Expected Output: 9.22337e+18 test57.json Input: [922337203685477529600001e-5] test57.json Succeeded - Output: 9.22337e+18 test57.json Succeeded - Expected Output: 9.22337e+18 test58.json Input: [10141204801825834086073718800384] test58.json Succeeded - Output: 1.01412e+31 test58.json Succeeded - Expected Output: 1.01412e+31 test59.json Input: [10141204801825835211973625643008] test59.json Succeeded - Output: 1.01412e+31 test59.json Succeeded - Expected Output: 1.01412e+31 test60.json Input: [10141204801825834649023672221696] test60.json Succeeded - Output: 1.01412e+31 test60.json Succeeded - Expected Output: 1.01412e+31 test61.json Input: [1014120480182583464902367222169599999e-5] test61.json Succeeded - Output: 1.01412e+31 test61.json Succeeded - Expected Output: 1.01412e+31 test62.json Input: [1014120480182583464902367222169600001e-5] test62.json Succeeded - Output: 1.01412e+31 test62.json Succeeded - Expected Output: 1.01412e+31 test63.json Input: [5708990770823838890407843763683279797179383808] test63.json Succeeded - Output: 5.70899e+45 test63.json Succeeded - Expected Output: 5.70899e+45 test64.json Input: [5708990770823839524233143877797980545530986496] test64.json Succeeded - Output: 5.70899e+45 test64.json Succeeded - Expected Output: 5.70899e+45 test65.json Input: [5708990770823839207320493820740630171355185152] test65.json Succeeded - Output: 5.70899e+45 test65.json Succeeded - Expected Output: 5.70899e+45 test66.json Input: [5708990770823839207320493820740630171355185151999e-3] test66.json Succeeded - Output: 5.70899e+45 test66.json Succeeded - Expected Output: 5.70899e+45 test67.json Input: [5708990770823839207320493820740630171355185152001e-3] test67.json Succeeded - Output: 5.70899e+45 test67.json Succeeded - Expected Output: 5.70899e+45 test68.json Input: [100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000] test68.json Succeeded - Output: 1e+308 test68.json Succeeded - Expected Output: 1e+308 test69.json Input: [2.225073858507201136057409796709131975934819546351645648023426109724822222021076945516529523908135087914149158913039621106870086438694594645527657207407820621743379988141063267329253552286881372149012981122451451889849057222307285255133155755015914397476397983411801999323962548289017107081850690630666655994938275772572015763062690663332647565300009245888316433037779791869612049497390377829704905051080609940730262937128958950003583799967207254304360284078895771796150945516748243471030702609144621572289880258182545180325707018860872113128079512233426288368622321503775666622503982534335974568884423900265498198385487948292206894721689831099698365846814022854243330660339850886445804001034933970427567186443383770486037861622771738545623065874679014086723327636718751234567890123456789012345678901e-308] test69.json Succeeded - Output: 2.22507e-308 test69.json Succeeded - Expected Output: 2.22507e-308
Leave a Comment