()
| 148 | } |
| 149 | |
| 150 | #[test] |
| 151 | fn queue_is_bounded() { |
| 152 | let mut kbd = Keyboard::new(); |
| 153 | for _ in 0..(KBD_QUEUE_CAP + 50) { |
| 154 | kbd.push_event(1, true); |
| 155 | } |
| 156 | assert_eq!(kbd.pending(), KBD_QUEUE_CAP); |
| 157 | } |
| 158 | |
| 159 | #[test] |
nothing calls this directly
no test coverage detected