commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r799972 - /commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
Date Sun, 02 Aug 2009 02:56:37 GMT
Author: niallp
Date: Sun Aug  2 02:56:37 2009
New Revision: 799972

URL: http://svn.apache.org/viewvc?rev=799972&view=rev
Log:
Increase test coverage slightly - test values generated using http://swoodbridge.com/DoubleMetaPhone/mptest.php3

Modified:
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java?rev=799972&r1=799971&r2=799972&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
Sun Aug  2 02:56:37 2009
@@ -1093,6 +1093,9 @@
         assertDoubleMetaphone("MKFR", "MacCafferey");
         assertDoubleMetaphone("STFN", "Stephan");
         assertDoubleMetaphone("KSSK", "Kuczewski");
+        assertDoubleMetaphone("MKLL", "McClelland");
+        assertDoubleMetaphone("SNHS", "san jose");
+        assertDoubleMetaphone("SNFP", "xenophobia");
 
         assertDoubleMetaphoneAlt("TSTN", "testing");
         assertDoubleMetaphoneAlt("T", "The");
@@ -1107,6 +1110,9 @@
         assertDoubleMetaphoneAlt("MKFR", "MacCafferey");
         assertDoubleMetaphoneAlt("STFN", "Stephan");
         assertDoubleMetaphoneAlt("KXFS", "Kutchefski");
+        assertDoubleMetaphoneAlt("MKLL", "McClelland");
+        assertDoubleMetaphoneAlt("SNHS", "san jose");
+        assertDoubleMetaphoneAlt("SNFP", "xenophobia");
     }
 
     public void testEmpty() {



Mime
View raw message