# HG changeset patch # User Robert Casties # Date 1539794665 -7200 # Node ID 2c49ddbe95ac806c47455bdf3be9295d92bef094 # Parent e8cee8cf2f52f9118d031231a161e7a7227d272a fix tests for changes in RomanizationLoC (not changing wa-). diff -r e8cee8cf2f52 -r 2c49ddbe95ac src/test/java/openmind/RomanizationLocTest.java --- a/src/test/java/openmind/RomanizationLocTest.java Mon Aug 27 16:34:46 2018 +0200 +++ b/src/test/java/openmind/RomanizationLocTest.java Wed Oct 17 18:44:25 2018 +0200 @@ -36,7 +36,8 @@ @Test public void testConvertRule3() { assertEquals("bi-al-tamām̄", RomanizationLoC.convert("bi al-tamām̄")); - assertEquals("wa-al-kamāl", RomanizationLoC.convert("wa al-kamāl")); + // 25.6.2018: Do not use for wa (problem with Persian) + //assertEquals("wa-al-kamāl", RomanizationLoC.convert("wa al-kamāl")); assertEquals("bi-tarīq", RomanizationLoC.convert("bi tarīq")); } @@ -82,6 +83,8 @@ @Test public void testConvertRules() { assertEquals("Risālah fī al-ʿamal bi-rubʿ al-muqanṭarāt al-shamālīyah", RomanizationLoC.convert("Risālaẗ fī al-ʿamal bi-rubʿ al-muqanṭarāt al-šamālīyaẗ")); - assertEquals("Mukhtaṣarah fī ṣanʿah baʿḍ al-ālāt al-raṣadiyyah wa-al-ʿamal bi-hā", RomanizationLoC.convert("Muḫtaṣaraẗ fī ṣanʿaẗ baʿḍ al-ālāt al-raṣadiyyaẗ wa-ʾl-ʿamal bi-hā")); + // 25.6.2018: Do not use for wa (problem with Persian) + //assertEquals("Mukhtaṣarah fī ṣanʿah baʿḍ al-ālāt al-raṣadiyyah wa-al-ʿamal bi-hā", RomanizationLoC.convert("Muḫtaṣaraẗ fī ṣanʿaẗ baʿḍ al-ālāt al-raṣadiyyaẗ wa-ʾl-ʿamal bi-hā")); + assertEquals("Mukhtaṣarah fī ṣanʿah baʿḍ al-ālāt al-raṣadiyyah wa al-ʿamal bi-hā", RomanizationLoC.convert("Muḫtaṣaraẗ fī ṣanʿaẗ baʿḍ al-ālāt al-raṣadiyyaẗ wa-ʾl-ʿamal bi-hā")); } }