mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
add test_default
This commit is contained in:
parent
43beef256f
commit
3548d98cd9
@ -150,6 +150,12 @@ mod tests {
|
||||
assert_eq!(pool.len(), 2);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_default() {
|
||||
let pool: MemPool<TestItem> = MemPool::default();
|
||||
assert!(pool.is_empty());
|
||||
assert_eq!(pool.len(), 0);
|
||||
}
|
||||
|
||||
|
||||
#[test]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user