19 lines
221 B
Rust
19 lines
221 B
Rust
#[derive(Clone, Debug)]
|
|
pub struct Database;
|
|
|
|
impl Database {
|
|
fn new() -> Self {
|
|
Self {}
|
|
}
|
|
}
|
|
|
|
#[cfg(test)]
|
|
mod dbase {
|
|
use super::*;
|
|
|
|
#[test]
|
|
fn create_new() {
|
|
Database::new();
|
|
}
|
|
}
|