use tempfile::tempdir;
use velarixdb::db::DataStore;
#[tokio::main]
async fn main() {
let root = tempdir().unwrap();
let path = root.path().join("velarix");
let mut store = DataStore::open("big_tech", path).await.unwrap();
store.put("apple", "tim cook").await.unwrap();
let entry = store.get("apple").await.unwrap();
assert!(entry.is_some());
store.delete("apple").await.unwrap();
let entry = store.get("apple").await.unwrap();
assert!(entry.is_none());
}