Test what actually happens

pull/203/head
Takashi Kokubun 2 years ago
parent 04df386833
commit 13e6b552d0
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

@ -20,11 +20,15 @@ fn test_basic_modmap() {
"},
vec![
Event::KeyEvent(KeyEvent::new(Key::KEY_A, KeyValue::Press)),
Event::KeyEvent(KeyEvent::new(Key::KEY_A, KeyValue::Release)),
Event::KeyEvent(KeyEvent::new(Key::KEY_B, KeyValue::Press)),
Event::KeyEvent(KeyEvent::new(Key::KEY_B, KeyValue::Release)),
],
vec![
Action::KeyEvent(KeyEvent::new(Key::KEY_B, KeyValue::Press)),
Action::KeyEvent(KeyEvent::new(Key::KEY_B, KeyValue::Release)),
Action::KeyEvent(KeyEvent::new(Key::KEY_B, KeyValue::Press)),
Action::KeyEvent(KeyEvent::new(Key::KEY_B, KeyValue::Release)),
],
)
}

Loading…
Cancel
Save