Jeff C. H. Wu found a bug whereby typing 'cuig' just after starting Jskad fails

(by producing 'cug') although typing 'kcuig' succeeds.

This is now fixed, and test cases now exist to ensure that the problem
doesn't reappear.
This commit is contained in:
dchandler 2003-05-31 12:58:36 +00:00
parent bc9a8f4754
commit 08d2ea3e2d

View file

@ -100,7 +100,14 @@ public class DuffPaneTest extends TestCase {
* keyboard, turning those into our internal representation (IR),
* and then converting the result to Extended Wylie. */
public void testWylieToIRToWylie() {
ensureKeysGiveCorrectWylie("kue ");
ensureKeysGiveCorrectWylie("kuau ");
ensureKeysGiveCorrectWylie("ku-i ");
ensureKeysGiveCorrectWylie("kuai ");
ensureKeysGiveCorrectWylie("cuig ");
ensureKeysGiveCorrectWylie("kcuig ");
ensureKeysGiveCorrectWylie("nga ");
ensureKeysGiveCorrectWylie("nga /");
ensureKeysGiveCorrectWylie("nag");