"sgom pa'am " is correct, not "sgom pa'm ".

This commit is contained in:
dchandler 2003-04-07 23:49:07 +00:00
parent df4f8b8a45
commit eb71fb6075
2 changed files with 8 additions and 6 deletions

View file

@ -443,14 +443,16 @@ public final class LegalTshegBar
new String( new char[] { new String( new char[] {
EWC_achung, EWC_ma EWC_achung, EWC_ma
}), }),
THDLWylieConstants.ACHUNG + THDLWylieConstants.MA THDLWylieConstants.ACHUNG + THDLWylieConstants.WYLIE_aVOWEL
+ THDLWylieConstants.MA
}, },
{ {
// meaning or, as opposed to and: // meaning or, as opposed to and:
new String( new char[] { new String( new char[] {
EWC_achung, EWC_nga EWC_achung, EWC_nga
}), }),
THDLWylieConstants.ACHUNG + THDLWylieConstants.NGA THDLWylieConstants.ACHUNG + THDLWylieConstants.WYLIE_aVOWEL
+ THDLWylieConstants.NGA
} }
}; };

View file

@ -39,7 +39,7 @@ public class LegalTshegBarTest extends TestCase implements UnicodeConstants {
} }
/** Tests the getThdlWylie() method to see if we /** Tests the getThdlWylie() method to see if we
handle "le'u'i'o", "sgom pa'm", "sgom pa'ng", etc. handle "le'u'i'o", "sgom pa'am", "sgom pa'ang", etc.
*/ */
public void testGetThdlWylieForLongSuffixLikeThings() { public void testGetThdlWylieForLongSuffixLikeThings() {
assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_la, assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_la,
@ -61,15 +61,15 @@ public class LegalTshegBarTest extends TestCase implements UnicodeConstants {
EWC_achung, EWV_o, EWC_achung, EWV_o,
EWC_achung, EWC_ma EWC_achung, EWC_ma
}), }),
EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("la'u'i'o'm'ng'o'm")); EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("la'u'i'o'am'ang'o'am"));
assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_pa, assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_pa,
EW_ABSENT, false, false, EW_ABSENT, false, false,
new String(new char[] { EWC_achung, EWC_ma }), new String(new char[] { EWC_achung, EWC_ma }),
EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("pa'm")); EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("pa'am"));
assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_pa, assertTrue(new LegalTshegBar(EW_ABSENT, EW_ABSENT, EWC_pa,
EW_ABSENT, false, false, EW_ABSENT, false, false,
new String(new char[] { EWC_achung, EWC_nga }), new String(new char[] { EWC_achung, EWC_nga }),
EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("pa'ng")); EW_ABSENT, EW_ABSENT).getThdlWylie().toString().equals("pa'ang"));
} }
/** Tests the getThdlWylie() method and one of the constructors. */ /** Tests the getThdlWylie() method and one of the constructors. */