mod tests {
use readb::{Database, DatabaseSettings, DefaultDatabase, IndexType};
#[allow(deprecated)]
#[test]
fn test_unwrap_creation() {
let dir = tempfile::tempdir().unwrap();
let _ = DefaultDatabase::new(DatabaseSettings {
path: Some(dir.path().to_path_buf()),
cache_size: None,
index_type: IndexType::HashMap,
..Default::default()
})
.unwrap();
}
}