void () { assertEquals("f''", doTestTyping("f", 1, '\'')); assertEquals("rf''", doTestTyping("rf", 2, '\'')); assertEquals("fr''", doTestTyping("fr", 2, '\'')); assertEquals("fr''''''", doTestTyping("fr''", 4, "'")); assertEquals("fr''''''", doTestTyping("fr''", 3, "''")); }