()
| 398 | } |
| 399 | #[test] |
| 400 | fn test_ptmest() -> Result<()> { |
| 401 | let mut est: PtmEst = PtmEst::new(); |
| 402 | let buf: &[u8] = &[0, 0, 0xE, 0, 0xC, 0, 1, 1]; |
| 403 | est.update_ptm_with_response(buf)?; |
| 404 | assert_eq!(est.get_result_code(), 0xE00); |
| 405 | assert_eq!(est.resp.bit, 0xC); |
| 406 | Ok(()) |
| 407 | } |
| 408 | #[test] |
| 409 | /*PtmInit Testing */ |
| 410 | fn test_ptminit() -> Result<()> { |
nothing calls this directly
no test coverage detected