use metrum::Temp;
use yngvi::core::{InMemWriter, Station};
use yngvi::display::DisplayReader;
#[tokio::test]
async fn shold_read_and_record_readings() {
let source = vec![
[1, 197, 26, 120, 0, 5, 75, 75, 3, 255],
[1, 197, 26, 120, 0, 5, 75, 75, 3, 255],
[1, 197, 26, 120, 0, 5, 75, 75, 3, 255],
]
.into_iter();
let reader = DisplayReader::new(source);
let mut writer = InMemWriter::new();
let mut station = Station::new();
let _res = 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