Skip to content

Commit c84250a

Browse files
committed
Sort members.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1073218 13f79535-47bb-0310-9956-ffa450edef68
1 parent cf4568e commit c84250a

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/test/org/apache/commons/codec/language/ColognePhoneticTest.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,6 @@ protected StringEncoder createEncoder() {
3030
return new ColognePhonetic();
3131
}
3232

33-
public void testExamples() {
34-
ColognePhonetic koellePhon = new ColognePhonetic();
35-
String[][] data = { { "Müller-Lüdenscheidt", "65752682" },
36-
{ "Breschnew", "17863" }, { "Wikipedia", "3412" } };
37-
38-
for (int i = 0; i < data.length; i++) {
39-
assertEquals(data[i][1], koellePhon.colognePhonetic(data[i][0]));
40-
}
41-
}
42-
4333
public void testBorderCases() {
4434
ColognePhonetic koellePhon = new ColognePhonetic();
4535

@@ -58,6 +48,16 @@ public void testBorderCases() {
5848
}
5949
}
6050

51+
public void testExamples() {
52+
ColognePhonetic koellePhon = new ColognePhonetic();
53+
String[][] data = { { "Müller-Lüdenscheidt", "65752682" },
54+
{ "Breschnew", "17863" }, { "Wikipedia", "3412" } };
55+
56+
for (int i = 0; i < data.length; i++) {
57+
assertEquals(data[i][1], koellePhon.colognePhonetic(data[i][0]));
58+
}
59+
}
60+
6161
public void testIsCologneEquals() {
6262
ColognePhonetic koellePhon = new ColognePhonetic();
6363
assertFalse("Cologne-phonetic encodings should not be equal",

0 commit comments

Comments
 (0)