From 8a45cd95353ae9fe1286dbc4fcd36faaa66c9f82 Mon Sep 17 00:00:00 2001 From: Chuyan Zhang Date: Sun, 19 Nov 2023 01:03:19 -0800 Subject: Layer 1 test not passing --- src/tests/common/mod.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/tests/common/mod.rs (limited to 'src/tests/common') diff --git a/src/tests/common/mod.rs b/src/tests/common/mod.rs new file mode 100644 index 0000000..9314fd9 --- /dev/null +++ b/src/tests/common/mod.rs @@ -0,0 +1,8 @@ +use crate::block_device::memory_disk::MemoryDisk; +use crate::AyaFS; +use std::sync::Arc; + +pub(crate) fn setup() -> AyaFS { + let mem_disk = Arc::new(MemoryDisk::new(1059715)); + AyaFS::new(mem_disk, 1059715) +} -- cgit v1.2.3-70-g09d2