Setup store.

This commit is contained in:
2023-05-30 00:18:13 -04:00
parent 646e0597ca
commit 914e7a8146
2 changed files with 25 additions and 0 deletions

23
src/morethantext/store.rs Normal file
View File

@ -0,0 +1,23 @@
pub struct Store;
impl Store {
fn new() -> Self {
Self {}
}
fn list(&self) -> Vec<String> {
Vec::new()
}
}
#[cfg(test)]
mod storage {
use super::*;
#[test]
fn create_new() {
let store = Store::new();
let expected: Vec<String> = Vec::new();
assert_eq!(store.list(), expected);
}
}