out of order test for trieroot
This commit is contained in:
parent
a90ef806a3
commit
6c21bc7b95
@ -320,11 +320,12 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn broken() {
|
||||
fn out_of_order() {
|
||||
assert!(trie_root(vec![
|
||||
(vec![0x01u8, 0x23], vec![0x01u8, 0x23]),
|
||||
(vec![0x81u8, 0x23], vec![0x81u8, 0x23]),
|
||||
(vec![0xf1u8, 0x23], vec![0xf1u8, 0x23]),
|
||||
]) !=
|
||||
]) ==
|
||||
trie_root(vec![
|
||||
(vec![0x01u8, 0x23], vec![0x01u8, 0x23]),
|
||||
(vec![0xf1u8, 0x23], vec![0xf1u8, 0x23]),
|
||||
|
Loading…
Reference in New Issue
Block a user