empty regular tree test
This commit is contained in:
parent
f995fda937
commit
afa24400cd
|
@ -206,6 +206,14 @@ mod tests {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn empty_32_root() {
|
||||
assert_eq!(
|
||||
RegularTreeState::new().root(),
|
||||
H256::from("ac58cd1388fec290d398f1944b564449a63c815880566bd1d189f7839e3b0c8c"),
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn single_elem_in_double_tree() {
|
||||
let mut tree = TreeState::<H2>::new();
|
||||
|
|
Loading…
Reference in New Issue