File tree Expand file tree Collapse file tree
src/test/org/apache/commons/codec/language Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 *
2828 * @see "http://www.cuj.com/documents/s=8038/cuj0006philips/"
2929 * @author Apache Software Foundation
30- * @version $Id: DoubleMetaphoneTest.java,v 1.8 2004/03/17 19:28:37 ggregory Exp $
30+ * @version $Id: DoubleMetaphoneTest.java,v 1.9 2004/04/13 23:15:40 ggregory Exp $
3131 */
3232public class DoubleMetaphoneTest extends StringEncoderAbstractTest {
3333
@@ -1199,6 +1199,14 @@ public void testIsDoubleMetaphoneNotEqual() {
11991199 doubleMetaphoneNotEqualTest (true );
12001200 }
12011201
1202+ public void testCCedilla () {
1203+ this .getDoubleMetaphone ().isDoubleMetaphoneEqual ("ç" , "S" );
1204+ }
1205+
1206+ public void testNTilde () {
1207+ this .getDoubleMetaphone ().isDoubleMetaphoneEqual ("ñ" , "N" );
1208+ }
1209+
12021210 public void validateFixture (String [][] pairs ) {
12031211 if (pairs .length == 0 ) {
12041212 fail ("Test fixture is empty" );
You can’t perform that action at this time.
0 commit comments