aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz K. Stanczak <tkstanczak@demerzel.co>2017-10-03 01:42:50 +0800
committerTomasz K. Stanczak <tkstanczak@demerzel.co>2017-10-03 01:42:50 +0800
commit6581e1fc35b1d0fdec86bd4eea552a7c742d6bca (patch)
tree1c3e98ebb6c68fdd8000bc6f9a6b1083a36e91ea
parent883d2de442781548d178824db7cfbe0b3fbc0b9a (diff)
downloaddexon-tests-6581e1fc35b1d0fdec86bd4eea552a7c742d6bca.tar
dexon-tests-6581e1fc35b1d0fdec86bd4eea552a7c742d6bca.tar.gz
dexon-tests-6581e1fc35b1d0fdec86bd4eea552a7c742d6bca.tar.bz2
dexon-tests-6581e1fc35b1d0fdec86bd4eea552a7c742d6bca.tar.lz
dexon-tests-6581e1fc35b1d0fdec86bd4eea552a7c742d6bca.tar.xz
dexon-tests-6581e1fc35b1d0fdec86bd4eea552a7c742d6bca.tar.zst
dexon-tests-6581e1fc35b1d0fdec86bd4eea552a7c742d6bca.zip
added a missing test - it was possible to write Tree code that would pass other tests but not this one
-rw-r--r--TrieTests/trietest.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/TrieTests/trietest.json b/TrieTests/trietest.json
index aee4338c4..91651405b 100644
--- a/TrieTests/trietest.json
+++ b/TrieTests/trietest.json
@@ -93,5 +93,13 @@
[ "key3","1234567890123456789012345678901"]
],
"root": "0xcb65032e2f76c48b82b5c24b3db8f670ce73982869d38cd39a624f23d62a9e89"
+ },
+ "branch-value-update": {
+ "in": [
+ [ "abc", "123" ],
+ [ "abcd", "abcd" ],
+ [ "abc", "abc" ]
+ ],
+ "root": "0x7a320748f780ad9ad5b0837302075ce0eeba6c26e3d8562c67ccc0f1b273298a"
}
}