Skip to content

Commit 94c6cc1

Browse files
committed
A couple more tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/codec/trunk@130358 13f79535-47bb-0310-9956-ffa450edef68
1 parent f2786e4 commit 94c6cc1

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
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
*/
3232
public 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");

0 commit comments

Comments
 (0)