()
| 396 | mod test { |
| 397 | #[test] |
| 398 | fn testKeyCodeInfo() { |
| 399 | use super::{KeyCodeInfo, KeyCode}; |
| 400 | assert!(KeyCode::A.to_u32().is_usb_keycode()); |
| 401 | assert!(KeyCode::Application.to_u32().is_usb_keycode()); |
| 402 | assert!(KeyCode::Power.to_u32().is_usb_keycode()); |
| 403 | assert!(!KeyCode::Power.to_u32().is_private_keycode()); |
| 404 | |
| 405 | } |
| 406 | } |
nothing calls this directly
no outgoing calls
no test coverage detected