Debian Codegraph @

tests/msc.rs

raw symbols SCIP
1 #![allow(non_snake_case)]
2
3 use input_event_codesrust-analyzer cargo input-event-codes 6.2.0 crate/::{
4 MSC_CNTrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_CNT!, MSC_GESTURErust-analyzer cargo input-event-codes 6.2.0 msc/MSC_GESTURE!, MSC_MAXrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_MAX!, MSC_PULSELEDrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_PULSELED!, MSC_RAWrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_RAW!, MSC_SCANrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_SCAN!, MSC_SERIALrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_SERIAL!, MSC_TIMESTAMPrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_TIMESTAMP!,
5 };
6
7 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
8 fn test_MSC_SERIALrust-analyzer cargo input-event-codes 6.2.0 test_MSC_SERIAL().() {
9 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(MSC_SERIALrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_SERIAL!!(), 0x00);
10 }
11
12 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
13 fn test_MSC_PULSELEDrust-analyzer cargo input-event-codes 6.2.0 test_MSC_PULSELED().() {
14 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(MSC_PULSELEDrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_PULSELED!!(), 0x01);
15 }
16
17 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
18 fn test_MSC_GESTURErust-analyzer cargo input-event-codes 6.2.0 test_MSC_GESTURE().() {
19 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(MSC_GESTURErust-analyzer cargo input-event-codes 6.2.0 msc/MSC_GESTURE!!(), 0x02);
20 }
21
22 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
23 fn test_MSC_RAWrust-analyzer cargo input-event-codes 6.2.0 test_MSC_RAW().() {
24 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(MSC_RAWrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_RAW!!(), 0x03);
25 }
26
27 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
28 fn test_MSC_SCANrust-analyzer cargo input-event-codes 6.2.0 test_MSC_SCAN().() {
29 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(MSC_SCANrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_SCAN!!(), 0x04);
30 }
31
32 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
33 fn test_MSC_TIMESTAMPrust-analyzer cargo input-event-codes 6.2.0 test_MSC_TIMESTAMP().() {
34 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(MSC_TIMESTAMPrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_TIMESTAMP!!(), 0x05);
35 }
36
37 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
38 fn test_MSC_MAXrust-analyzer cargo input-event-codes 6.2.0 test_MSC_MAX().() {
39 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(MSC_MAXrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_MAX!!(), 0x07);
40 }
41
42 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
43 fn test_MSC_CNTrust-analyzer cargo input-event-codes 6.2.0 test_MSC_CNT().() {
44 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(MSC_CNTrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_CNT!!(), (MSC_MAXrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_MAX!!() +rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add(). 1));
45 }