Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions nomt/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ use std::{

static NEXT_TEST_ID: AtomicUsize = AtomicUsize::new(0);

#[allow(unused_imports)]
pub use nomt_test_utils::{account_path, key_diverging_at};

#[allow(dead_code)]
pub fn expected_root(accounts: u64) -> Node {
let mut ops = (0..accounts)
.map(account_path)
Expand Down Expand Up @@ -54,6 +56,7 @@ fn fill_missing_keys(g: &mut Gen, excluded: &mut BTreeSet<KeyPath>, target: usiz
out
}

#[allow(dead_code)]
pub fn apply_accesses(t: &mut Test, accesses: &[(KeyPath, KeyReadWrite)]) {
for (key, access) in accesses {
match access {
Expand Down