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