pass engine in tests

This commit is contained in:
keorn
2016-11-21 18:53:53 +00:00
parent 84fdaf966a
commit 66526af5a8
3 changed files with 16 additions and 15 deletions

View File

@@ -38,6 +38,12 @@ impl NullEngine {
}
}
impl Default for NullEngine {
fn default() -> Self {
Self::new(Default::default(), Default::default())
}
}
impl Engine for NullEngine {
fn name(&self) -> &str {
"NullEngine"