More test cases related to the following:

The Tibetan d.za was being converted into the Wylie dza incorrectly.  This
is a rare case, but I want TMW->Wylie to be perfectly unambiguous.
This commit is contained in:
dchandler 2003-07-18 02:31:02 +00:00
parent f8c959bfb0
commit dc454b8c0c

View file

@ -101,6 +101,21 @@ public class DuffPaneTest extends TestCase {
* keyboard, turning those into our internal representation (IR), * keyboard, turning those into our internal representation (IR),
* and then converting the result to Extended Wylie. */ * and then converting the result to Extended Wylie. */
public void testWylieToIRToWylie() { public void testWylieToIRToWylie() {
ensureKeysGiveCorrectWylie("tsa",
"tsa");
ensureKeysGiveCorrectWylie("t.sa",
"tas");
ensureKeysGiveCorrectWylie("d.za",
"d.za");
ensureKeysGiveCorrectWylie("dza",
"dza");
ensureKeysGiveCorrectWylie("s.ha",
"saha");
ensureKeysGiveCorrectWylie("sha",
"sha");
ensureKeysGiveCorrectWylie("kue "); ensureKeysGiveCorrectWylie("kue ");
ensureKeysGiveCorrectWylie("<8<7<0 "); ensureKeysGiveCorrectWylie("<8<7<0 ");
ensureKeysGiveCorrectWylie("012345678901234 "); ensureKeysGiveCorrectWylie("012345678901234 ");