]> granicus.if.org Git - icu/commitdiff
ICU-10170 Added a test case. The bug in the library code was already fixed by r33671.
authorYoshito Umaoka <y.umaoka@gmail.com>
Wed, 22 May 2013 21:04:44 +0000 (21:04 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Wed, 22 May 2013 21:04:44 +0000 (21:04 +0000)
X-SVN-Rev: 33731

icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/NumberFormatTest.java

index 29a6261c51886129a5b06c669f23b47526f6b156..9f34709980d8f2cc44d8805943132ee874894622 100644 (file)
@@ -3156,6 +3156,14 @@ public class NumberFormatTest extends com.ibm.icu.dev.test.TestFmwk {
                 Double.valueOf(123.4567d),
                 null
             },
+            {
+                ULocale.US,
+                "#.##",
+                Integer.valueOf(BigDecimal.ROUND_DOWN),
+                null,
+                Long.valueOf(1234),
+                "1234"
+            },
         };
 
         int testNum = 1;