if(!data.length)data=newUint8Array(32*abi.inputs.length)// ensuring the data is at least filled by 0 cause `AbiCoder` throws if there's not enough data
{type:'testPass',debugTxHash:'0x57af51c2c19db390a4ccf72fa3d32347fb3d998e70820909c7876bd8ccebf8a3',value:'Equal int pass test',filename: __dirname+'/examples_0/assert_equal_test.sol',context:'AssertEqualTest'},
{type:'testFailure',debugTxHash:'0x710f3a54a561c009fcf0277273b8fe337b2c493e9e83e0ae02786d487339ca7b',value:'Equal int fail test',filename: __dirname+'/examples_0/assert_equal_test.sol',errMsg:'equalIntFailTest fails',context:'AssertEqualTest',assertMethod:'equal',location:'493:45:0',expected:'2',returned:'-1'},
{type:'testPass',debugTxHash:'0xffd078476f9d569cdc81ac9657d0cba539f2242bc55ea8e00c9a5f79202962bd',value:'Equal int pass test',filename: __dirname+'/examples_0/assert_equal_test.sol',context:'AssertEqualTest'},
{type:'testFailure',debugTxHash:'0xe5825fe29fc517cd5838bcdcd8d4b265ec7ea1e26f1436a2449358b7c4e6265f',value:'Equal int fail test',filename: __dirname+'/examples_0/assert_equal_test.sol',errMsg:'equalIntFailTest fails',context:'AssertEqualTest',assertMethod:'equal',location:'493:45:0',expected:'2',returned:'-1'},
{type:'testPass',debugTxHash:'0xdc325916fd93227b76231131e52e67f8913d395098c5ac767032db9bd757a91c',value:'Greater than uint pass test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',context:'AssertGreaterThanTest'},
{type:'testFailure',debugTxHash:'0xf98eea22bb86f13e0bb4072df22b540289a46b332bdb203a1e488d7e14a1dcd4',value:'Greater than uint fail test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',errMsg:'greaterThanUintFailTest fails',context:'AssertGreaterThanTest',assertMethod:'greaterThan',location:'303:69:0',expected:'4',returned:'1'},
{type:'testPass',debugTxHash:'0xef5ef38329ba6aac2f868d53d803053c52b1895a2c25b704260435c141a63bfc',value:'Greater than int pass test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',context:'AssertGreaterThanTest'},
{type:'testFailure',debugTxHash:'0x6b9430f3f12c12fb11e5a8d32fef849ab34614e644be20c6b41a25e510453440',value:'Greater than int fail test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',errMsg:'greaterThanIntFailTest fails',context:'AssertGreaterThanTest',assertMethod:'greaterThan',location:'569:67:0',expected:'1',returned:'-1'},
{type:'testPass',debugTxHash:'0x4c6e10815a5e82bf2c60950606dc886317f680028a9229ba2dda17b5ea36325a',value:'Greater than uint int pass test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',context:'AssertGreaterThanTest'},
{type:'testFailure',debugTxHash:'0x989c405c32c8e270a5dea69e6250a514c05dacd6fcf018365a241abc28c2497b',value:'Greater than uint int fail test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',errMsg:'greaterThanUintIntFailTest fails',context:'AssertGreaterThanTest',assertMethod:'greaterThan',location:'845:71:0',expected:'2',returned:'1'},
{type:'testPass',debugTxHash:'0x9fed670ae2061929f71780835b7ea3eb7da6d4fb553cd2d5f62950c353165861',value:'Greater than int uint pass test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',context:'AssertGreaterThanTest'},
{type:'testFailure',debugTxHash:'0xcf394fd279293cdcf58efc42f3a443595fdb171769a45df01b0c84cd76b3a9a2',value:'Greater than int uint fail test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',errMsg:'greaterThanIntUintFailTest fails',context:'AssertGreaterThanTest',assertMethod:'greaterThan',location:'1125:76:0',expected:'115792089237316195423570985008687907853269984665640564039457584007913129639836',returned:'100'}
{type:'testPass',debugTxHash:'0x563a5b040bd6403de8543a8c44f1b11bb99dbece557f428b966fb70d389e602b',value:'Greater than uint pass test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',context:'AssertGreaterThanTest'},
{type:'testFailure',debugTxHash:'0x14ec758d313b505d92b0505e0ce940df318bc0136ea6ab9b40bba1a94baeaca5',value:'Greater than uint fail test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',errMsg:'greaterThanUintFailTest fails',context:'AssertGreaterThanTest',assertMethod:'greaterThan',location:'303:69:0',expected:'4',returned:'1'},
{type:'testPass',debugTxHash:'0x2de3f6fdf2c93f50289dd5fe469a13e03c22961ddcf110e5f3819a7af39e3e25',value:'Greater than int pass test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',context:'AssertGreaterThanTest'},
{type:'testFailure',debugTxHash:'0xa8b897e011895858be4bc37f20e1e17a490b964d0683df5b430ac648e992bd57',value:'Greater than int fail test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',errMsg:'greaterThanIntFailTest fails',context:'AssertGreaterThanTest',assertMethod:'greaterThan',location:'569:67:0',expected:'1',returned:'-1'},
{type:'testPass',debugTxHash:'0xf52652ef6020ae091022455df8713d20cb00a35de8bf485e177128a457a50d6c',value:'Greater than uint int pass test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',context:'AssertGreaterThanTest'},
{type:'testFailure',debugTxHash:'0x9f826060a0e5a8c0187d5e9ffe83a153080379a1e1fea0b267745eb8bd52fd6f',value:'Greater than uint int fail test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',errMsg:'greaterThanUintIntFailTest fails',context:'AssertGreaterThanTest',assertMethod:'greaterThan',location:'845:71:0',expected:'2',returned:'1'},
{type:'testPass',debugTxHash:'0x04e1703c75cc4beb4b8c9ddfb79489192423fe745089382cadb1811cbf2d915c',value:'Greater than int uint pass test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',context:'AssertGreaterThanTest'},
{type:'testFailure',debugTxHash:'0xbb5c94a5fc46417a4d3c763994da78d4f27c83dbc5545cb0522a39c3c6017432',value:'Greater than int uint fail test',filename: __dirname+'/examples_0/assert_greaterThan_test.sol',errMsg:'greaterThanIntUintFailTest fails',context:'AssertGreaterThanTest',assertMethod:'greaterThan',location:'1125:76:0',expected:'115792089237316195423570985008687907853269984665640564039457584007913129639836',returned:'100'}
],['time','web3'])
})
})
@ -276,14 +276,14 @@ describe('testRunner', function () {
{type:'testPass',debugTxHash:'0x524fb46aa0e8a78bc11a99432908d422450c2933d837f858aeacba9b84706d5c',value:'Lesser than uint pass test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',context:'AssertLesserThanTest'},
{type:'testFailure',debugTxHash:'0x0551a67b10b9e13182e8bdb4e530ed92466d5054ae959f999f2c558da2c39d22',value:'Lesser than uint fail test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',errMsg:'lesserThanUintFailTest fails',context:'AssertLesserThanTest',assertMethod:'lesserThan',location:'298:67:0',expected:'2',returned:'4'},
{type:'testPass',debugTxHash:'0x6d63958d8c3230e837d0ca8335e57262c6e0c6b2c07a5b481842b9ad7329ac28',value:'Lesser than int pass test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',context:'AssertLesserThanTest'},
{type:'testFailure',debugTxHash:'0x38e96ef44f4e785db4d40a95862a9797e8cef6de0ce1d059da72ff42e2f3ca62',value:'Lesser than int fail test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',errMsg:'lesserThanIntFailTest fails',context:'AssertLesserThanTest',assertMethod:'lesserThan',location:'557:65:0',expected:'-1',returned:'1'},
{type:'testPass',debugTxHash:'0x699f9fc2bf7a14134e89b94cd9dc1c537b5d4581a1c26a34a0c3343ddede9608',value:'Lesser than uint int pass test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',context:'AssertLesserThanTest'},
{type:'testFailure',debugTxHash:'0xce1391dcfbfdc6c611e357e6c1c9f6cd9f257153ee400cb80bd36af6d239c342',value:'Lesser than uint int fail test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',errMsg:'lesserThanUintIntFailTest fails',context:'AssertLesserThanTest',assertMethod:'lesserThan',location:'826:71:0',expected:'-1',returned:'115792089237316195423570985008687907853269984665640564039457584007913129639935'},
{type:'testPass',debugTxHash:'0x7040e6664c13e6b35ef1daaef93a8cae36a62150d818183892096a98b921800c',value:'Lesser than int uint pass test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',context:'AssertLesserThanTest'},
{type:'testFailure',debugTxHash:'0x8c58bb433ea41760dcf11114232407d703e8ebf7d5e9637e2923282eae5caee6',value:'Lesser than int uint fail test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',errMsg:'lesserThanIntUintFailTest fails',context:'AssertLesserThanTest',assertMethod:'lesserThan',location:'1105:69:0',expected:'1',returned:'1'},
{type:'testPass',debugTxHash:'0x407c27582c0b6b2275d03372907c2efcafa1c9e8a1e6ea8d4e20f88e3222b6c7',value:'Lesser than uint pass test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',context:'AssertLesserThanTest'},
{type:'testFailure',debugTxHash:'0x6e7fc07decdb5deb71b1177fc7b151bce5b8e42fc6137e1418b4e7277960d972',value:'Lesser than uint fail test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',errMsg:'lesserThanUintFailTest fails',context:'AssertLesserThanTest',assertMethod:'lesserThan',location:'298:67:0',expected:'2',returned:'4'},
{type:'testPass',debugTxHash:'0x353c9bcf4b61abaf4b6ffaae02f18ea0a7fb38a8c3c7a915939561cdf97f2d72',value:'Lesser than int pass test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',context:'AssertLesserThanTest'},
{type:'testFailure',debugTxHash:'0xccab30c5a154c4c2e8ca9a8966b86a55f08188d606c3519a5c29534b4b64fb47',value:'Lesser than int fail test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',errMsg:'lesserThanIntFailTest fails',context:'AssertLesserThanTest',assertMethod:'lesserThan',location:'557:65:0',expected:'-1',returned:'1'},
{type:'testPass',debugTxHash:'0x8e90fb7f3b8343d037444275cd69d431f75a7fc6b46322c69397373463cee22a',value:'Lesser than uint int pass test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',context:'AssertLesserThanTest'},
{type:'testFailure',debugTxHash:'0x5db60fe115958b767f0defe81eeb6322ee18ec8df690abad0d1581175882136b',value:'Lesser than uint int fail test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',errMsg:'lesserThanUintIntFailTest fails',context:'AssertLesserThanTest',assertMethod:'lesserThan',location:'826:71:0',expected:'-1',returned:'115792089237316195423570985008687907853269984665640564039457584007913129639935'},
{type:'testPass',debugTxHash:'0x19f79e8c8ec360cd27beee6399e6853a4fe335af78364ed35c93f8fe39e3100c',value:'Lesser than int uint pass test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',context:'AssertLesserThanTest'},
{type:'testFailure',debugTxHash:'0x520ecba457bf71f42d24f61432d872121da699af0374090e2e9098a6719cb0ce',value:'Lesser than int uint fail test',filename: __dirname+'/examples_0/assert_lesserThan_test.sol',errMsg:'lesserThanIntUintFailTest fails',context:'AssertLesserThanTest',assertMethod:'lesserThan',location:'1105:69:0',expected:'1',returned:'1'},
],['time','web3'])
})
})
@ -311,10 +311,10 @@ describe('testRunner', function () {
{type:'testPass',debugTxHash:'0xed5b6898331119c6e3d1185b9de65d87ad7329cc629a8f2d43b966cf180a5dc1',value:'Initial value should be100',filename: __dirname+'/examples_1/simple_storage_test.sol',context:'MyTest'},
{type:'testPass',debugTxHash:'0x79cae5c4f44edfd7ae3490e01c75df5741b107672cef5e69800e4d30d380a721',value:'Initial value should not be200',filename: __dirname+'/examples_1/simple_storage_test.sol',context:'MyTest'},
{type:'testFailure',debugTxHash:'0x24a20f7643e88f891e469ef495911ab0b75f99e2b09b9b091e688674910d1506',value:'Should trigger one fail',filename: __dirname+'/examples_1/simple_storage_test.sol',errMsg:'uint test 1 fails',context:'MyTest',assertMethod:'equal',location:'532:51:1',expected:'2',returned:'1'},
{type:'testPass',debugTxHash:'0x08b1f60c908b7e6cf2dd24fc166c755f0fe5336aebfb325cae4ce00ea9bbf932',value:'Should trigger one pass',filename: __dirname+'/examples_1/simple_storage_test.sol',context:'MyTest'}
{type:'testPass',debugTxHash:'0xd86dbe1efaf707981475a9a4762826c6852cce3e5b0e987827027602d6d6d734',value:'Initial value should be100',filename: __dirname+'/examples_1/simple_storage_test.sol',context:'MyTest'},
{type:'testPass',debugTxHash:'0x1b5cce7f93b78f8c97ba915e24648127b7f28e86008668d20a4c20fd0fde40bc',value:'Initial value should not be200',filename: __dirname+'/examples_1/simple_storage_test.sol',context:'MyTest'},
{type:'testFailure',debugTxHash:'0xdb9cbef289c9e53f4119ad60c1f3e29770de930091e17ab987529c7057013628',value:'Should trigger one fail',filename: __dirname+'/examples_1/simple_storage_test.sol',errMsg:'uint test 1 fails',context:'MyTest',assertMethod:'equal',location:'532:51:1',expected:'2',returned:'1'},
{type:'testPass',debugTxHash:'0x21472600af5de67cd53a489f2435169fdfbe83d7b7dd43c8a0150725fd91e254',value:'Should trigger one pass',filename: __dirname+'/examples_1/simple_storage_test.sol',context:'MyTest'}
],['time','web3'])
})
})
@ -342,8 +342,8 @@ describe('testRunner', function () {
{type:'testPass',debugTxHash:'0xed5b6898331119c6e3d1185b9de65d87ad7329cc629a8f2d43b966cf180a5dc1',value:'Initial value should be100',filename: __dirname+'/examples_2/simple_storage_test.sol',context:'MyTest'},
{type:'testPass',debugTxHash:'0x8ed5b4858405b43ad4052f5690b4b711c0f6cdeb67a64f54084417d43bc54308',value:'Value is set200',filename: __dirname+'/examples_2/simple_storage_test.sol',context:'MyTest'}
{type:'testPass',debugTxHash:'0xd86dbe1efaf707981475a9a4762826c6852cce3e5b0e987827027602d6d6d734',value:'Initial value should be100',filename: __dirname+'/examples_2/simple_storage_test.sol',context:'MyTest'},
{type:'testPass',debugTxHash:'0xa447f168cd1ce406635ea2368b61828b107473905e270957b7ee38b94a12e055',value:'Value is set200',filename: __dirname+'/examples_2/simple_storage_test.sol',context:'MyTest'}
],['time','web3'])
})
})
@ -368,8 +368,8 @@ describe('testRunner', function () {
{type:'testPass',debugTxHash:'0x3567da76ffbec37e3b43a41987a7ff3e61b41b4c544f35c010d2d4b39568d6d4',value:'Initial value should be hello world',filename: __dirname+'/examples_3/simple_string_test.sol',context:'StringTest'},
{type:'testPass',debugTxHash:'0x8619b743ccc99be7d5347a064732474b2d1b69844be65b0e7754c6ac1340d275',value:'Value should not be hello wordl',filename: __dirname+'/examples_3/simple_string_test.sol',context:'StringTest'}
{type:'testPass',debugTxHash:'0x0f988e614ae6e9a5f560734e8b63f835de14460a5b797e16fa5c68091452d2c5',value:'Initial value should be hello world',filename: __dirname+'/examples_3/simple_string_test.sol',context:'StringTest'},
{type:'testPass',debugTxHash:'0x713ec0ad3cd02ffcd64f54e45b4da5498983d18b5a696ea34e9fb5d01928cb3f',value:'Value should not be hello wordl',filename: __dirname+'/examples_3/simple_string_test.sol',context:'StringTest'}
],['time','web3'])
})
})
@ -394,9 +394,9 @@ describe('testRunner', function () {
{type:'testPass',debugTxHash:'0xed5b6898331119c6e3d1185b9de65d87ad7329cc629a8f2d43b966cf180a5dc1',value:'Initial value should be100',filename: __dirname+'/examples_5/test/simple_storage_test.sol',context:'StorageResolveTest'},
{type:'testPass',debugTxHash:'0x6893fe4f5a83cc51f03c9237ab93b93ffd826236167d58e20666be4c1b3128a4',value:'Check if even',filename: __dirname+'/examples_5/test/simple_storage_test.sol',context:'StorageResolveTest'},
{type:'testPass',debugTxHash:'0x64e600b32be681b68926660042ddd96f22d07949b424959811b8acb56e72f719',value:'Check if odd',filename: __dirname+'/examples_5/test/simple_storage_test.sol',context:'StorageResolveTest'}
{type:'testPass',debugTxHash:'0xd86dbe1efaf707981475a9a4762826c6852cce3e5b0e987827027602d6d6d734',value:'Initial value should be100',filename: __dirname+'/examples_5/test/simple_storage_test.sol',context:'StorageResolveTest'},
{type:'testPass',debugTxHash:'0xc9e1523f6f094cdd909b3977d1eef7c83284b15c22b17b9b0a4a632bf59881f6',value:'Check if even',filename: __dirname+'/examples_5/test/simple_storage_test.sol',context:'StorageResolveTest'},
{type:'testPass',debugTxHash:'0xe3f415f2cade92243fd795b9988fc9e9c4318983933c0a0b103e968f31c40f55',value:'Check if odd',filename: __dirname+'/examples_5/test/simple_storage_test.sol',context:'StorageResolveTest'}