| 1 | #![allow(non_snake_case)] |
| 2 | |
| 3 | use input_event_codes::{SYN_CNT, SYN_CONFIG, SYN_DROPPED, SYN_MAX, SYN_MT_REPORT, SYN_REPORT}; |
| 4 | |
| 5 | #[test] |
| 6 | fn test_SYN_REPORT() { |
| 7 | assert_eq!(SYN_REPORT!(), 0); |
| 8 | } |
| 9 | |
| 10 | #[test] |
| 11 | fn test_SYN_CONFIG() { |
| 12 | assert_eq!(SYN_CONFIG!(), 1); |
| 13 | } |
| 14 | |
| 15 | #[test] |
| 16 | fn test_SYN_MT_REPORT() { |
| 17 | assert_eq!(SYN_MT_REPORT!(), 2); |
| 18 | } |
| 19 | |
| 20 | #[test] |
| 21 | fn test_SYN_DROPPED() { |
| 22 | assert_eq!(SYN_DROPPED!(), 3); |
| 23 | } |
| 24 | |
| 25 | #[test] |
| 26 | fn test_SYN_MAX() { |
| 27 | assert_eq!(SYN_MAX!(), 0xf); |
| 28 | } |
| 29 | |
| 30 | #[test] |
| 31 | fn test_SYN_CNT() { |
| 32 | assert_eq!(SYN_CNT!(), (SYN_MAX!() + 1)); |
| 33 | } |