Skip to content

Commit 1a0de7f

Browse files
committed
Add Wikipedia examples (broken)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1075412 13f79535-47bb-0310-9956-ffa450edef68
1 parent 22b7bd4 commit 1a0de7f

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,21 @@ public void testSpecificationExamples() throws EncoderException {
4343
{"able", "APA1111111"},
4444
{"Tedder", "TTA1111111"},
4545
{"Karleen", "KLN1111111"},
46-
{"Dyun", "TN11111111"},};
46+
{"Dyun", "TN11111111"}};
4747
this.checkEncodings(data);
4848
}
4949

50+
/**
51+
* Tests examples from http://en.wikipedia.org/wiki/Caverphone
52+
*
53+
* @throws EncoderException
54+
*/
55+
public void testWikipediaExamples() throws EncoderException {
56+
// Is this a bug of a Caverphone 1.0 vs 2.0 issue?
57+
// String[][] data = {{"Lee", "L11111"}, {"Thompson", "TMPSN1"}};
58+
// this.checkEncodings(data);
59+
}
60+
5061
// Caverphone Revisited
5162
public void testIsCaverphoneEquals() {
5263
Caverphone caverphone = new Caverphone();

0 commit comments

Comments
 (0)