]> granicus.if.org Git - icu/commitdiff
ICU-10755 add U_NAMESPACE_USE, also add a couple of tests including grouping (for...
authorSteven R. Loomis <srl@icu-project.org>
Wed, 5 Mar 2014 19:47:35 +0000 (19:47 +0000)
committerSteven R. Loomis <srl@icu-project.org>
Wed, 5 Mar 2014 19:47:35 +0000 (19:47 +0000)
X-SVN-Rev: 35344

icu4c/source/test/perf/howExpensiveIs/howExpensiveIs.cpp

index 1d15e04a383b4f137e7db14dc6a576eafe06cb03..993c534207703cdbb61a2ab3223cd8cbf111ac94 100644 (file)
@@ -1,6 +1,6 @@
 /*
  **********************************************************************
- * Copyright (c) 2011-2012,International Business Machines
+ * Copyright (c) 2011-2014,International Business Machines
  * Corporation and others.  All Rights Reserved.
  **********************************************************************
  */
@@ -13,6 +13,7 @@
 #include "unicode/ustring.h"
 #include "unicode/decimfmt.h"
 #include "unicode/udat.h"
+U_NAMESPACE_USE
 
 #if U_PLATFORM_IMPLEMENTS_POSIX
 #include <unistd.h>
@@ -750,8 +751,10 @@ void runTests() {
     DO_NumFmtInt64Test("#","-682",-682);
     DO_NumFmtInt64Test("#","0",0);
     DO_NumFmtInt64Test("#","12345",12345);
+    DO_NumFmtInt64Test("#,###","12,345",12345);
     DO_NumFmtInt64Test("#","1234",1234);
     DO_NumFmtInt64Test("#","123",123);
+    DO_NumFmtInt64Test("#,###","123",123);
     DO_NumFmtInt64Test("#","-2",-2);
     DO_NumFmtInt64Test("+#","+2",2);
   }