Skip to content

Commit

Permalink
Update tests::controller()
Browse files Browse the repository at this point in the history
  • Loading branch information
cybergarage committed Aug 8, 2024
1 parent 5ef1725 commit 243789f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/controller_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,15 @@ mod tests {

use crate::controller::*;
use crate::log::Logger;
use std::{thread, time};

#[test]
fn controller() {
Logger::init();
{
let slp = time::Duration::from_secs(1);
let mut ctrl = Controller::new();
assert!(ctrl.start());
thread::sleep(slp);
assert!(ctrl.search());
thread::sleep(slp);
assert!(ctrl.stop());
thread::sleep(slp);
}
}
}

0 comments on commit 243789f

Please sign in to comment.