From 08d2ea3e2dc68b925aa689622a90e24935ff2c92 Mon Sep 17 00:00:00 2001 From: dchandler Date: Sat, 31 May 2003 12:58:36 +0000 Subject: [PATCH] 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. --- source/org/thdl/tib/input/DuffPaneTest.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/org/thdl/tib/input/DuffPaneTest.java b/source/org/thdl/tib/input/DuffPaneTest.java index f4c1a75..367d36d 100644 --- a/source/org/thdl/tib/input/DuffPaneTest.java +++ b/source/org/thdl/tib/input/DuffPaneTest.java @@ -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");