diff options
author | Dimitry Khokhlov <winsvega@mail.ru> | 2015-07-03 22:05:52 +0800 |
---|---|---|
committer | Dimitry Khokhlov <winsvega@mail.ru> | 2015-07-03 22:05:52 +0800 |
commit | 65b710628dddce040a463323ec7d12ea0447a8c1 (patch) | |
tree | b53f68b6eb89b88d59f0ae1e7d9ee9e827b51b75 /BasicTests | |
parent | b20c5d3a53110a09e3ef28d8d782b928dd33bf28 (diff) | |
download | dexon-tests-65b710628dddce040a463323ec7d12ea0447a8c1.tar dexon-tests-65b710628dddce040a463323ec7d12ea0447a8c1.tar.gz dexon-tests-65b710628dddce040a463323ec7d12ea0447a8c1.tar.bz2 dexon-tests-65b710628dddce040a463323ec7d12ea0447a8c1.tar.lz dexon-tests-65b710628dddce040a463323ec7d12ea0447a8c1.tar.xz dexon-tests-65b710628dddce040a463323ec7d12ea0447a8c1.tar.zst dexon-tests-65b710628dddce040a463323ec7d12ea0447a8c1.zip |
Invalid RLP Tests
Diffstat (limited to 'BasicTests')
-rw-r--r-- | BasicTests/RandomRLPTests/example.json | 6 | ||||
-rw-r--r-- | BasicTests/invalidRLPtest.json | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/BasicTests/RandomRLPTests/example.json b/BasicTests/RandomRLPTests/example.json new file mode 100644 index 000000000..bd1375332 --- /dev/null +++ b/BasicTests/RandomRLPTests/example.json @@ -0,0 +1,6 @@ +{ + "listsoflists2": { + "in": [ [], [[]], [ [], [[]] ] ], + "out": "c7c0c1c0c3c0c1c0" + }, +} diff --git a/BasicTests/invalidRLPtest.json b/BasicTests/invalidRLPtest.json new file mode 100644 index 000000000..f2acd371d --- /dev/null +++ b/BasicTests/invalidRLPtest.json @@ -0,0 +1,11 @@ +{ + "int32Overflow": { + "in": "INVALID", + "out": "bf0f000000000000021111" + }, + + "int32Overflow2": { + "in": "INVALID", + "out": "ff0f000000000000021111" + }, +} |