diff --git a/src/comparemode.rs b/src/comparemode.rs index 2af6bc1..55ae47a 100644 --- a/src/comparemode.rs +++ b/src/comparemode.rs @@ -76,3 +76,15 @@ impl Comparer for CompareMode { } } } + + +#[cfg(test)] +mod tests { + use crate::comparemode::CompareMode; + + #[test] + fn compare_mode() { + let cm = CompareMode::new(vec![], "".to_string(), "".to_string()); + + } +} diff --git a/src/main.rs b/src/main.rs index 364b33c..2c3cbd5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,3 +30,12 @@ fn main() { app.run() } + +// #[cfg(test)] +// mod tests { +// #[test] +// fn test() { +// +// +// } +// }