(dev_eui: EUI64, f_cnt: u32)
| 33 | } |
| 34 | |
| 35 | pub fn n_f_cnt_down(dev_eui: EUI64, f_cnt: u32) -> Validator { |
| 36 | Box::new(move || { |
| 37 | let dev_eui = dev_eui; |
| 38 | Box::pin(async move { |
| 39 | let d = device::get(&dev_eui).await.unwrap(); |
| 40 | let ds = d.get_device_session().unwrap(); |
| 41 | assert_eq!(f_cnt, ds.n_f_cnt_down); |
| 42 | }) |
| 43 | }) |
| 44 | } |
| 45 | |
| 46 | pub fn a_f_cnt_down(dev_eui: EUI64, f_cnt: u32) -> Validator { |
| 47 | Box::new(move || { |
nothing calls this directly
no test coverage detected