mod test_device;
mod test_device_comm_manager;
use crate::device::device::DeviceImplCommand;
use async_std::sync::Receiver;
pub use test_device::{TestDevice, TestDeviceImplCreator};
pub use test_device_comm_manager::TestDeviceCommunicationManager;
#[allow(dead_code)]
pub async fn check_recv_value(receiver: &Receiver<DeviceImplCommand>, command: DeviceImplCommand) {
assert!(!receiver.is_empty());
assert_eq!(receiver.recv().await.unwrap(), command);
}