@@ -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