aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/utils
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-07-25 07:10:13 +0200
committerBananeweizen <bananeweizen@gmx.de>2012-07-25 07:10:13 +0200
commit1c27141a59b6603efc1d69e60bece5234df1d07f (patch)
tree9e72c44c75ebd05ba48aa4664f5e17ed7baf75b9 /tests/src/cgeo/geocaching/utils
parent84e47532e98e13bb984cebea5fae2b8bffeb6a56 (diff)
downloadcgeo-1c27141a59b6603efc1d69e60bece5234df1d07f.zip
cgeo-1c27141a59b6603efc1d69e60bece5234df1d07f.tar.gz
cgeo-1c27141a59b6603efc1d69e60bece5234df1d07f.tar.bz2
#1902: Special characters in hint
Diffstat (limited to 'tests/src/cgeo/geocaching/utils')
-rw-r--r--tests/src/cgeo/geocaching/utils/CryptUtilsTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java b/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java
index 5dafce7..d092cd8 100644
--- a/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java
+++ b/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java
@@ -17,4 +17,8 @@ public class CryptUtilsTest extends TestCase {
assertEquals(4660, GCConstants.gccodeToGCId("GC1234"));
assertEquals(61731, GCConstants.gccodeToGCId("GCF123"));
}
+
+ public static void testIssue1902() throws Exception {
+ assertEquals("ƖƖlƖƖƖƖ", CryptUtils.rot13("ƖƖyƖƖƖƖ"));
+ }
}