mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
add asserts to test
This commit is contained in:
parent
4ba4c12a87
commit
a642946665
@ -221,6 +221,8 @@ mod tests {
|
||||
let obj: HashStorageMerkleTree<MockTransaction> = serde_json::from_slice(&binding).unwrap();
|
||||
|
||||
assert_eq!(tree.leaves, obj.leaves);
|
||||
assert_eq!(tree.hash_to_id_map, obj.hash_to_id_map);
|
||||
assert_eq!(tree.tree.root(), obj.tree.root());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user