From: Steven R. Loomis Date: Wed, 5 Mar 2014 19:47:35 +0000 (+0000) Subject: ICU-10755 add U_NAMESPACE_USE, also add a couple of tests including grouping (for... X-Git-Tag: milestone-59-0-1~2072 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c574edd9ed9560d52b115a2992f83dd22fbf0f58;p=icu ICU-10755 add U_NAMESPACE_USE, also add a couple of tests including grouping (for comparison) X-SVN-Rev: 35344 --- diff --git a/icu4c/source/test/perf/howExpensiveIs/howExpensiveIs.cpp b/icu4c/source/test/perf/howExpensiveIs/howExpensiveIs.cpp index 1d15e04a383..993c5342077 100644 --- a/icu4c/source/test/perf/howExpensiveIs/howExpensiveIs.cpp +++ b/icu4c/source/test/perf/howExpensiveIs/howExpensiveIs.cpp @@ -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 @@ -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); }