LEFT | RIGHT |
1 // © 2017 and later: Unicode, Inc. and others. | 1 // © 2017 and later: Unicode, Inc. and others. |
2 // License & terms of use: http://www.unicode.org/copyright.html#License | 2 // License & terms of use: http://www.unicode.org/copyright.html#License |
3 package com.ibm.icu.dev.test.numbers; | 3 package com.ibm.icu.dev.test.numbers; |
4 | 4 |
5 import static org.junit.Assert.assertEquals; | 5 import static org.junit.Assert.assertEquals; |
6 import static org.junit.Assert.assertTrue; | 6 import static org.junit.Assert.assertTrue; |
7 | 7 |
8 import java.text.FieldPosition; | 8 import java.text.FieldPosition; |
9 import java.text.Format.Field; | 9 import java.text.Format.Field; |
10 | 10 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 assertEquals(a.charAt(i), b.charAt(i)); | 162 assertEquals(a.charAt(i), b.charAt(i)); |
163 } | 163 } |
164 | 164 |
165 int start = Math.min(2, a.length()); | 165 int start = Math.min(2, a.length()); |
166 int end = Math.min(12, a.length()); | 166 int end = Math.min(12, a.length()); |
167 if (start != end) { | 167 if (start != end) { |
168 assertCharSequenceEquals(a.subSequence(start, end), b.subSequence(start, e
nd)); | 168 assertCharSequenceEquals(a.subSequence(start, end), b.subSequence(start, e
nd)); |
169 } | 169 } |
170 } | 170 } |
171 } | 171 } |
LEFT | RIGHT |