()
| 390 | } |
| 391 | #[test] |
| 392 | fn test_ptmcap() -> Result<()> { |
| 393 | let mut cap: PtmCap = 0x0; |
| 394 | let buf: &[u8] = &[0, 0, 0, 0xE, 0, 0, 0xFF, 0xFF]; |
| 395 | cap.update_ptm_with_response(buf)?; |
| 396 | assert_eq!(cap.get_result_code(), 0xE); |
| 397 | Ok(()) |
| 398 | } |
| 399 | #[test] |
| 400 | fn test_ptmest() -> Result<()> { |
| 401 | let mut est: PtmEst = PtmEst::new(); |
nothing calls this directly
no test coverage detected