Debian Codegraph @

tests/led.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 LED_CAPSLrust-analyzer cargo input-event-codes 6.2.0 led/LED_CAPSL!, LED_CHARGINGrust-analyzer cargo input-event-codes 6.2.0 led/LED_CHARGING!, LED_CNTrust-analyzer cargo input-event-codes 6.2.0 led/LED_CNT!, LED_COMPOSErust-analyzer cargo input-event-codes 6.2.0 led/LED_COMPOSE!, LED_KANArust-analyzer cargo input-event-codes 6.2.0 led/LED_KANA!, LED_MAILrust-analyzer cargo input-event-codes 6.2.0 led/LED_MAIL!, LED_MAXrust-analyzer cargo input-event-codes 6.2.0 led/LED_MAX!, LED_MISCrust-analyzer cargo input-event-codes 6.2.0 led/LED_MISC!, LED_MUTErust-analyzer cargo input-event-codes 6.2.0 led/LED_MUTE!,
5 LED_NUMLrust-analyzer cargo input-event-codes 6.2.0 led/LED_NUML!, LED_SCROLLLrust-analyzer cargo input-event-codes 6.2.0 led/LED_SCROLLL!, LED_SLEEPrust-analyzer cargo input-event-codes 6.2.0 led/LED_SLEEP!, LED_SUSPENDrust-analyzer cargo input-event-codes 6.2.0 led/LED_SUSPEND!,
6 };
7
8 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
9 fn test_LED_NUMLrust-analyzer cargo input-event-codes 6.2.0 test_LED_NUML().() {
10 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_NUMLrust-analyzer cargo input-event-codes 6.2.0 led/LED_NUML!!(), 0x00);
11 }
12
13 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
14 fn test_LED_CAPSLrust-analyzer cargo input-event-codes 6.2.0 test_LED_CAPSL().() {
15 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_CAPSLrust-analyzer cargo input-event-codes 6.2.0 led/LED_CAPSL!!(), 0x01);
16 }
17
18 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
19 fn test_LED_SCROLLLrust-analyzer cargo input-event-codes 6.2.0 test_LED_SCROLLL().() {
20 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_SCROLLLrust-analyzer cargo input-event-codes 6.2.0 led/LED_SCROLLL!!(), 0x02);
21 }
22
23 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
24 fn test_LED_COMPOSErust-analyzer cargo input-event-codes 6.2.0 test_LED_COMPOSE().() {
25 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_COMPOSErust-analyzer cargo input-event-codes 6.2.0 led/LED_COMPOSE!!(), 0x03);
26 }
27
28 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
29 fn test_LED_KANArust-analyzer cargo input-event-codes 6.2.0 test_LED_KANA().() {
30 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_KANArust-analyzer cargo input-event-codes 6.2.0 led/LED_KANA!!(), 0x04);
31 }
32
33 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
34 fn test_LED_SLEEPrust-analyzer cargo input-event-codes 6.2.0 test_LED_SLEEP().() {
35 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_SLEEPrust-analyzer cargo input-event-codes 6.2.0 led/LED_SLEEP!!(), 0x05);
36 }
37
38 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
39 fn test_LED_SUSPENDrust-analyzer cargo input-event-codes 6.2.0 test_LED_SUSPEND().() {
40 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_SUSPENDrust-analyzer cargo input-event-codes 6.2.0 led/LED_SUSPEND!!(), 0x06);
41 }
42
43 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
44 fn test_LED_MUTErust-analyzer cargo input-event-codes 6.2.0 test_LED_MUTE().() {
45 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_MUTErust-analyzer cargo input-event-codes 6.2.0 led/LED_MUTE!!(), 0x07);
46 }
47
48 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
49 fn test_LED_MISCrust-analyzer cargo input-event-codes 6.2.0 test_LED_MISC().() {
50 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_MISCrust-analyzer cargo input-event-codes 6.2.0 led/LED_MISC!!(), 0x08);
51 }
52
53 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
54 fn test_LED_MAILrust-analyzer cargo input-event-codes 6.2.0 test_LED_MAIL().() {
55 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_MAILrust-analyzer cargo input-event-codes 6.2.0 led/LED_MAIL!!(), 0x09);
56 }
57
58 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
59 fn test_LED_CHARGINGrust-analyzer cargo input-event-codes 6.2.0 test_LED_CHARGING().() {
60 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_CHARGINGrust-analyzer cargo input-event-codes 6.2.0 led/LED_CHARGING!!(), 0x0a);
61 }
62
63 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
64 fn test_LED_MAXrust-analyzer cargo input-event-codes 6.2.0 test_LED_MAX().() {
65 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_MAXrust-analyzer cargo input-event-codes 6.2.0 led/LED_MAX!!(), 0x0f);
66 }
67
68 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
69 fn test_LED_CNTrust-analyzer cargo input-event-codes 6.2.0 test_LED_CNT().() {
70 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(LED_CNTrust-analyzer cargo input-event-codes 6.2.0 led/LED_CNT!!(), (LED_MAXrust-analyzer cargo input-event-codes 6.2.0 led/LED_MAX!!() +rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add(). 1));
71 }