From 1c27141a59b6603efc1d69e60bece5234df1d07f Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Wed, 25 Jul 2012 07:10:13 +0200 Subject: #1902: Special characters in hint --- tests/src/cgeo/geocaching/utils/CryptUtilsTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/src') 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ƖƖƖƖ")); + } } -- cgit v1.1