move tests to a separated module for clarity, lock test module behind #[cfg(test)]

This commit is contained in:
Lukáš Hozda
2017-10-14 19:46:40 +02:00
parent 00dedcc3b4
commit 597c2eda21
3 changed files with 403 additions and 402 deletions

View File

@@ -11,5 +11,8 @@ mod engine;
mod fn_register;
mod parser;
#[cfg(test)]
mod tests;
pub use engine::{Engine, Scope};
pub use fn_register::FnRegister;