diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-06-08 15:54:11 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-06-08 15:54:11 +0200 |
| commit | 88eda55ecfd95e562f7af410fa374f8d22eb6c9e (patch) | |
| tree | 99967e142662d1a981cf7100ac5f2f699ae399d5 /tests | |
| parent | fa7b86c367f2fbd003cf324189e3737ec6b23575 (diff) | |
| download | cgeo-88eda55ecfd95e562f7af410fa374f8d22eb6c9e.zip cgeo-88eda55ecfd95e562f7af410fa374f8d22eb6c9e.tar.gz cgeo-88eda55ecfd95e562f7af410fa374f8d22eb6c9e.tar.bz2 | |
refactoring: remove duplicated code, add tests
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/src/cgeo/geocaching/utils/CryptUtilsTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java b/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java index fff24f2..e727747 100644 --- a/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java +++ b/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java @@ -9,6 +9,8 @@ public class CryptUtilsTest extends TestCase { assertEquals("", CryptUtils.rot13("")); assertEquals("", CryptUtils.rot13((String) null)); assertEquals("Pnpur uvag", CryptUtils.rot13("Cache hint")); + assertEquals("Pnpur [plain] uvag", CryptUtils.rot13("Cache [plain] hint")); + assertEquals("[all plain]", CryptUtils.rot13("[all plain]")); assertEquals("123", CryptUtils.rot13("123")); } |
