From 2a47ff68a4438de264355d4e01f8aeebcf971d42 Mon Sep 17 00:00:00 2001 From: dchandler Date: Mon, 30 Jan 2006 06:00:39 +0000 Subject: [PATCH] Added test cases based on real-world issues using Leigh Brasington's UDP which uses this ACIP->Unicode converter. --- source/org/thdl/tib/text/ttt/PackageTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/org/thdl/tib/text/ttt/PackageTest.java b/source/org/thdl/tib/text/ttt/PackageTest.java index c3f1544..ccab944 100644 --- a/source/org/thdl/tib/text/ttt/PackageTest.java +++ b/source/org/thdl/tib/text/ttt/PackageTest.java @@ -7748,6 +7748,10 @@ M+NA } public void testACIPConversion() { + uhelp("NYTZ", "\u0f49\u0fa9", "None"); + uhelp("NY+TZ", "\u0f49\u0fa9"); + uhelp("NG,", "\u0f44\u0f0c\u0f0d"); + uhelp("NGO,", "\u0f44\u0f7c\u0f0c\u0f0d"); // DLC chilton hates this... I E or O and we are non-breaking... uhelp("\\u0FFF", "[#ERROR 138: The Unicode escape '\u0fff' with ordinal (in decimal) 4095 is in the Tibetan range of Unicode (i.e., [U+0F00, U+0FFF]), but is a reserved code in that area.]");