MCPcopy Create free account
hub / github.com/TyberiusPrime/KeyToKey / tc

Method tc

src/test_helpers.rs:197–202  ·  view source on GitHub ↗
(&mut self, ms_since_last: u16, should: &[&[KeyCode]])

Source from the content-addressed store, hash-verified

195 self.output.clear();
196 }
197 fn tc(&mut self, ms_since_last: u16, should: &[&[KeyCode]]) {
198 self.add_timeout(ms_since_last);
199 self.handle_keys().unwrap();
200 check_output(self, should);
201 self.output.clear();
202 }
203 fn pct(&mut self, key: impl AcceptsKeycode, ms_since_last: u16, should: &[&[KeyCode]]) {
204 self.add_keypress(key, ms_since_last);
205 self.handle_keys().unwrap();

Callers 1

test_tapdanceFunction · 0.80

Calls 4

check_outputFunction · 0.85
add_timeoutMethod · 0.80
handle_keysMethod · 0.80
clearMethod · 0.80

Tested by

no test coverage detected