-// Copyright (C) 2015-2016, International Business Machines
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
+// Copyright (C) 2015-2016, International Business Machines
// Corporation and others. All Rights Reserved.
//
// This file is divided into test suites separated by whitespace. Each test
set pattern +0;-#
begin
format output breaks
-6 \u200F+\u0666 JK
--6 \u200F-\u0666 JK
+6 \u061C+\u0666 JK
+-6 \u061C-\u0666 JK
test basic patterns
set locale fr_FR
// See ticket 11621
1 0 2 3.E08 JK
1 1 3 3.E+008 JK
-1 0 1 3.E8 J
+1 0 1 3.E8
0 0 1 3E8
test exponent decimalSeparatorAlwaysShown default
NaN beforeSuffix NaN K
NaN afterSuffix NaN K
-test apply localized patterns
+test apply formerly localized patterns
begin
-locale localizedPattern format output breaks
-en 0% 0.4376 44%
+// documentation says localizedPattern is not supported, change to pattern
+locale pattern format output breaks
+en #0% 0.4376 44%
// This next test breaks JDK. JDK doesn't multiply by 100.
-fa \u06f0\u066a 0.4376 \u06f4\u06f4\u066a K
+// It also is now broken in ICU4J until #10368 is fixed.
+fa \u0025\u00a0\u0023\u0030 0.4376 \u200e\u066a\u00a0\u06f4\u06f4 JK
test toPattern
set locale en