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

Method rc

src/test_helpers.rs:191–196  ·  view source on GitHub ↗
(&mut self, key: impl AcceptsKeycode, should: &[&[KeyCode]])

Source from the content-addressed store, hash-verified

189 self.output.clear();
190 }
191 fn rc(&mut self, key: impl AcceptsKeycode, should: &[&[KeyCode]]) {
192 self.add_keyrelease(key, 50);
193 self.handle_keys().unwrap();
194 check_output(self, should);
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();

Callers 14

test_oneshot_double_tapFunction · 0.80
test_tapdanceFunction · 0.80
test_sequenceFunction · 0.80
test_dual_sequenceFunction · 0.80
test_prefix_sequenceFunction · 0.80

Calls 4

check_outputFunction · 0.85
add_keyreleaseMethod · 0.80
handle_keysMethod · 0.80
clearMethod · 0.80

Tested by

no test coverage detected