use metrum::Temp;
use yngvi::core::{InMemWriter, Station};
use yngvi::rtl_433::{rtl_433_file_source, RTL433Reader};
#[tokio::test]
async fn shold_read_and_record_rtl433_readings() {
let mut station = Station::new();
let source = rtl_433_file_source("data/rtl_433.txt").take(5);
let reader = RTL433Reader::new(source);
let mut writer = InMemWriter::new();
let _ = station.start(reader, &mut writer).await;
// Get stored readings from the writer
let data = writer.readings.into_iter();
// Check writers stored weahter properties
let rain: Vec