From c574edd9ed9560d52b115a2992f83dd22fbf0f58 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 5 Mar 2014 19:47:35 +0000 Subject: [PATCH] ICU-10755 add U_NAMESPACE_USE, also add a couple of tests including grouping (for comparison) X-SVN-Rev: 35344 --- icu4c/source/test/perf/howExpensiveIs/howExpensiveIs.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); } -- 2.40.0